ACE3/addons/optionsmenu/functions/fnc_moduleAllowConfigExport.sqf

26 lines
367 B
Plaintext
Raw Normal View History

2015-04-05 00:17:43 +00:00
/*
* 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 {
2015-04-05 00:33:45 +00:00
GVAR(serverConfigGeneration) = 1;
2015-04-05 00:17:43 +00:00
} else {
2015-04-05 00:33:45 +00:00
GVAR(serverConfigGeneration) = 0;
2015-04-05 00:17:43 +00:00
};