mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-08-12 18:43:18 +03:00
Properly disable town generator and plant spawner loops
Stops intensive loop from running unnecessarily when dayz_townGenerator = false; The comfrey plants are pointless atm since the only thing they may be used for is crafting a sepsis bandage. Also added waterHoleProxy for Napf and Namalsk placed by @skigoggles Vanilla commit: https://github.com/DayZMod/DayZ/commit/b5a91250865db7f3bdce7f0d2bfc676be27d7884
This commit is contained in:
@@ -226,7 +226,9 @@ _playerObj setVariable ["lastPos",getPosATL _playerObj];
|
||||
PVCDZ_plr_Login2 = [_worldspace,_state];
|
||||
_clientID = owner _playerObj;
|
||||
_clientID publicVariableClient "PVCDZ_plr_Login2";
|
||||
_clientID publicVariableClient "PVCDZ_plr_plantSpawner";
|
||||
if (dayz_townGenerator) then {
|
||||
_clientID publicVariableClient "PVCDZ_plr_plantSpawner";
|
||||
};
|
||||
|
||||
//record time started
|
||||
_playerObj setVariable ["lastTime",time];
|
||||
|
||||
Reference in New Issue
Block a user