Correct PVDZ_plr_Save for player zombies

This commit is contained in:
ebaydayz
2016-04-20 17:00:38 -04:00
parent 14dacf269c
commit 7da7b9e5dd
9 changed files with 9 additions and 7 deletions

View File

@@ -363,7 +363,7 @@ while {1 == 1} do {
player setVariable["combattimeout", diag_tickTime + 30, true]; // Global used to punish combat log in server_onPlayerDisconnect
player setVariable["startcombattimer", 0, false];
} else {
if (_ZedsNearby) then {
if (_ZedsNearby && !_isPZombie) then {
player setVariable["combattimeout", diag_tickTime + 10, true]; // Global used to punish combat log in server_onPlayerDisconnect
player setVariable["startcombattimer", 0, false];
};