mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Fix self actions duplicating when changing clothes and looking at a safe
This was also a bug in 1051. Thanks to Epoch forums user jOoPs for reporting.
This commit is contained in:
@@ -93,7 +93,8 @@ player setVariable ["DZE_display_name",_tagSetting,true];
|
||||
//PVDZ_serverStoreVar = [player,"Achievements",_achievements];
|
||||
//publicVariableServer "PVDZ_serverStoreVar";
|
||||
|
||||
call dayz_resetSelfActions;
|
||||
call dayz_resetSelfActions; //New unit has no self actions yet. Reset variables so actions can be added back.
|
||||
dayz_actionInProgress = false; //Allow self actions to run now.
|
||||
eh_player_killed = player addeventhandler ["FiredNear",{_this call player_weaponFiredNear;}];
|
||||
[player] call fnc_usec_damageHandle;
|
||||
player allowDamage true;
|
||||
|
||||
Reference in New Issue
Block a user