Merge pull request #13438 from Cameron653/RUNTIME_HOTFIX

Hotfix to make items not shoot out runtimes.
This commit is contained in:
Novacat
2022-08-03 20:25:33 -04:00
committed by GitHub
+1 -1
View File
@@ -259,7 +259,7 @@
ghost.assumeform(src)
ghost.animate_towards(user)
//VORESTATION EDIT START. This handles possessed items.
if(src.possessed_voice.len && !(user.ckey in warned_of_possession)) //Is this item possessed?
if(src.possessed_voice && src.possessed_voice.len && !(user.ckey in warned_of_possession)) //Is this item possessed?
warned_of_possession |= user.ckey
tgui_alert_async(user,{"
THIS ITEM IS POSSESSED BY A PLAYER CURRENTLY IN THE ROUND. This could be by anomalous means or otherwise.