mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Added checks for enforce usage only in SP with settings enabled
This commit is contained in:
parent
202904f1f9
commit
279641787d
@ -16,6 +16,8 @@
|
||||
|
||||
#include "script_component.hpp"
|
||||
|
||||
if (GVAR(serverConfigGeneration) == 0 || isMultiplayer) exitwith {closeDialog 145246;};
|
||||
|
||||
// Filter only user setable setting
|
||||
GVAR(serverSideOptions) = [];
|
||||
GVAR(serverSideColors) = [];
|
||||
|
@ -84,7 +84,9 @@ switch (_type) do {
|
||||
|
||||
if (_changed) then {
|
||||
if (GVAR(serverConfigGeneration) > 0) then {
|
||||
missionNamespace setvariable [_name, _newValue];
|
||||
if !(isMultiplayer) then {
|
||||
missionNamespace setvariable [_name, _newValue];
|
||||
};
|
||||
} else {
|
||||
profileNamespace setVariable [_name, _newValue];
|
||||
[_name, _newValue] call EFUNC(common,setSetting);
|
||||
|
Loading…
Reference in New Issue
Block a user