Make new players and their minds gc properly (#18542)

This commit is contained in:
moxian
2022-07-25 18:19:47 +01:00
committed by GitHub
parent f141ee2fed
commit df86aa075a
+1 -1
View File
@@ -197,8 +197,8 @@
observer.real_name = client.prefs.active_character.real_name
observer.name = observer.real_name
observer.key = key
QDEL_NULL(mind)
observer.add_to_respawnable_list()
mind.current = null
qdel(src)
return TRUE
return FALSE