mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-19 19:15:11 +01:00
Item Runtime hotfix
Hotfix to make items not shoot out runtimes. The game was checking for a variable that was 'null' to see if it has a length, which is something that doesn't occur. This fixes that by simply making it check to see if it has a possessed_voice variable.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user