mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
Reset Toxic after Revive
This commit is contained in:
parent
36a5a4b44b
commit
ae558a7fa5
@ -62,6 +62,10 @@ if !(alive player && alive _playerObject && !isPlayer _playerObject) then {
|
||||
if !(isNil "_playerBloodPKey") then {_playerBloodPKeyFinal = _playerBloodPKey};
|
||||
missionNamespace setVariable [_playerBloodPKeyFinal, 120];
|
||||
|
||||
_playerToxicityKeyFinal = "EPOCH_playerToxicity";
|
||||
if !(isNil "_playerToxicityKey") then {_playerToxicityKeyFinal = _playerToxicityKey};
|
||||
missionNamespace setVariable [_playerToxicityKeyFinal, 0];
|
||||
|
||||
// Wait until _playerObject is local before adding Rating and EH's
|
||||
waituntil {local _playerObject};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user