[MIRROR] PR about an old ghastly ref issue. (#1630)

* Fixing an old ghastly reference issue. (#54820)

* PR about an old ghastly ref issue.

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
This commit is contained in:
SkyratBot
2020-11-08 19:30:01 +00:00
committed by GitHub
co-authored by Ghom
parent 46f9ef7cc6
commit ec75a270eb
+4 -1
View File
@@ -4,7 +4,10 @@
SStgui.on_logout(src)
unset_machine()
remove_from_player_list()
if(client?.movingmob) //In the case the client was transferred to another mob and not deleted.
client.movingmob.client_mobs_in_contents -= src
UNSETEMPTY(client.movingmob.client_mobs_in_contents)
client.movingmob = null
..()
if(loc)