mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Missing prep
This commit is contained in:
parent
146e87f02e
commit
e57a135750
@ -87,6 +87,7 @@ PREP(isInBuilding);
|
|||||||
PREP(isPlayer);
|
PREP(isPlayer);
|
||||||
PREP(isTurnedOut);
|
PREP(isTurnedOut);
|
||||||
PREP(letterToCode);
|
PREP(letterToCode);
|
||||||
|
PREP(loadSettingsFromProfile);
|
||||||
PREP(loadSettingsOnServer);
|
PREP(loadSettingsOnServer);
|
||||||
PREP(map);
|
PREP(map);
|
||||||
PREP(moduleCheckPBOs);
|
PREP(moduleCheckPBOs);
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
if !(_isForced) then {
|
if !(_isForced) then {
|
||||||
_profileValue = profileNamespace getvariable _name;
|
_profileValue = profileNamespace getvariable _name;
|
||||||
// If the setting is stored on the profile
|
// If the setting is stored on the profile
|
||||||
if !(isNil _profileValue) then {
|
if !(isNil "_profileValue") then {
|
||||||
// If the profile variable has the correct type
|
// If the profile variable has the correct type
|
||||||
if (typeName _profileValue == typeName (missionNamespace getvariable _name)) then {
|
if (typeName _profileValue == typeName (missionNamespace getvariable _name)) then {
|
||||||
// Load the setting from the profile
|
// Load the setting from the profile
|
||||||
|
Loading…
Reference in New Issue
Block a user