Uninstall enableWeaponDicing thread on death/game_ended/disconnect.

Fixes #5.
master
Icedream 2016-04-02 21:27:22 +02:00
parent 3b3dd02382
commit 0a1f966159
1 changed files with 4 additions and 0 deletions

View File

@ -826,6 +826,10 @@ enableWeaponDicing(playerCommand)
player = self;
level endon("game_ended");
player endon("death");
player endon("disconnect");
player notifyOnPlayerCommand("weapondicing_requested", playerCommand);
for (;;)