ACE3/addons/optionsmenu/functions/fnc_moduleAllowConfigExport.sqf

26 lines
361 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 {
GVAR(serverConfigGeneration) = 1;
} else {
GVAR(serverConfigGeneration) = 0;
};