mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
Fix death when changing clothes + minor changes
removing the Respawn EH fixes this, I haven't noticed any adverse effects from removing it yet. Also changing groups now deletes the old group. The machine which the group is local to must execute the deleteGroup command, the server previously had to wait until the player disconnects to delete their empty groups.
This commit is contained in:
@@ -1058,7 +1058,7 @@ class FSM
|
||||
"player disableConversation true;" \n
|
||||
"" \n
|
||||
"eh_player_killed = player addeventhandler [""FiredNear"",{_this call player_weaponFiredNear;} ];" \n
|
||||
"player addEventHandler ['Respawn', player_death];" \n
|
||||
"//player addEventHandler ['Respawn', player_death];" \n
|
||||
"" \n
|
||||
"//_state = player getVariable[""state"",[]];" \n
|
||||
"_currentWpn = """";" \n
|
||||
|
||||
Reference in New Issue
Block a user