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:
icomrade
2016-05-09 00:27:34 -04:00
parent 875b63027a
commit 72f3779edb
3 changed files with 4 additions and 3 deletions

View File

@@ -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