ACE3/addons/optionsmenu/functions/fnc_moduleAllowConfigExport.sqf
2015-11-30 17:14:05 +01:00

26 lines
367 B
Plaintext

/*
* Author: Glowbal
*
*
* Arguments:
* none
*
* Return Value:
* None
*
* Public: No
*/
#include "script_component.hpp"
private ["_logic"];
_logic = _this select 0;
if (isMultiplayer) exitWith {};
if (_logic getvariable ["allowconfigurationExport", false]) then {
GVAR(serverConfigGeneration) = 1;
} else {
GVAR(serverConfigGeneration) = 0;
};