mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
fix error on first load, thanks Vampire
This commit is contained in:
parent
84c46c7d2c
commit
a993d5bb7b
Binary file not shown.
Binary file not shown.
@ -67,7 +67,9 @@ rmx_var_ppDbPos = [0];
|
|||||||
rmx_var_ppCiPos = [0,0,0];
|
rmx_var_ppCiPos = [0,0,0];
|
||||||
|
|
||||||
with profileNamespace do {
|
with profileNamespace do {
|
||||||
if (rmx_var_ppLoadSave isEqualTo []) then {rmx_var_ppLoadSave = nil};
|
if !(isNil "rmx_var_ppLoadSave") then {
|
||||||
|
if (rmx_var_ppLoadSave isEqualTo []) then {rmx_var_ppLoadSave = nil};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
rmx_var_ppLoadSave = profileNamespace getVariable ["rmx_var_ppLoadSave",[[0,"Nothing saved",[1,1,0,0,0,0,0,0,0,0,1,0,0,0,0]]]];
|
rmx_var_ppLoadSave = profileNamespace getVariable ["rmx_var_ppLoadSave",[[0,"Nothing saved",[1,1,0,0,0,0,0,0,0,0,1,0,0,0,0]]]];
|
||||||
rmx_var_ppHandles = [];
|
rmx_var_ppHandles = [];
|
||||||
@ -88,7 +90,9 @@ rmx_var_afText = [];
|
|||||||
rmx_var_afSelected = 0;
|
rmx_var_afSelected = 0;
|
||||||
|
|
||||||
with profileNamespace do {
|
with profileNamespace do {
|
||||||
if (rmx_var_afLoadSave isEqualTo []) then {rmx_var_afLoadSave = nil};
|
if !(isNil "rmx_var_afLoadSave") then {
|
||||||
|
if (rmx_var_afLoadSave isEqualTo []) then {rmx_var_afLoadSave = nil};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
rmx_var_afProfile = profileNamespace getVariable ["rmx_var_afProfile",[0,0,0,0,[0,0],[0,[0,0,0]],[0,0],[0,0],[0,0],[0,0],[0,0,false]]];
|
rmx_var_afProfile = profileNamespace getVariable ["rmx_var_afProfile",[0,0,0,0,[0,0],[0,[0,0,0]],[0,0],[0,0],[0,0],[0,0],[0,0,false]]];
|
||||||
rmx_var_afLoadSave = profileNamespace getVariable ["rmx_var_afLoadSave",[["Nothing saved",[]]]];
|
rmx_var_afLoadSave = profileNamespace getVariable ["rmx_var_afLoadSave",[["Nothing saved",[]]]];
|
||||||
|
Loading…
Reference in New Issue
Block a user