Update persist_vr.dm

This commit is contained in:
Verkister
2023-04-08 17:51:45 +03:00
committed by GitHub
parent 62104f2028
commit 4a081d74ba

View File

@@ -45,7 +45,7 @@
// Find out of this mob is a proper mob!
if (persister.mind && persister.mind.loaded_from_ckey)
if(persister.ckey != persister.mind.loaded_from_ckey) //CHOMPAdd
if(ckey(persister.mind.key) != persister.mind.loaded_from_ckey) //CHOMPAdd
warning("Persist (P4P): [persister.mind] was loaded from ckey [persister.mind.loaded_from_ckey] mismatching the current ckey [persister.ckey].")
return //CHOMPAdd End
// Okay this mob has a real loaded-from-savefile mind in it!