mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
remove forced profilenamespace save
KK said on a blog post that profile namespace variables is done automatically but you can force it by using saveProfileNamespace command
This commit is contained in:
@@ -11,13 +11,6 @@ diag_log "HIVE: Starting";
|
|||||||
|
|
||||||
waituntil{isNil "sm_done"}; // prevent server_monitor be called twice (bug during login of the first player)
|
waituntil{isNil "sm_done"}; // prevent server_monitor be called twice (bug during login of the first player)
|
||||||
|
|
||||||
if (isNil "server_initCount") then {
|
|
||||||
server_initCount = 1;
|
|
||||||
} else {
|
|
||||||
server_initCount = server_initCount + 1;
|
|
||||||
};
|
|
||||||
diag_log format["server_monitor.sqf execution count = %1", server_initCount];
|
|
||||||
|
|
||||||
// Custom Configs
|
// Custom Configs
|
||||||
if(isnil "MaxVehicleLimit") then {
|
if(isnil "MaxVehicleLimit") then {
|
||||||
MaxVehicleLimit = 50;
|
MaxVehicleLimit = 50;
|
||||||
@@ -68,7 +61,6 @@ if (isServer and isNil "sm_done") then {
|
|||||||
|
|
||||||
// save superkey
|
// save superkey
|
||||||
profileNamespace setVariable ["SUPERKEY",(_hiveResponse select 2)];
|
profileNamespace setVariable ["SUPERKEY",(_hiveResponse select 2)];
|
||||||
saveProfileNamespace;
|
|
||||||
|
|
||||||
_hiveLoaded = true;
|
_hiveLoaded = true;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user