say code correction

-we should be using the loc of the mob to create a speech bubble, not the loc of the loc of the mob
-speech bubbles created by mobs inside a mech will now follow the mech
This commit is contained in:
Squirgenheimer
2018-10-29 03:43:04 -04:00
parent 926c4a5e17
commit c6da75590c
+1 -1
View File
@@ -274,7 +274,7 @@ proc/get_radio_key_from_channel(var/channel)
spawn(0)
if(loc && !isturf(loc))
var/atom/A = loc //Non-turf, let it handle the speech bubble
A.speech_bubble("hR[speech_bubble_test]", A.loc, speech_bubble_recipients)
A.speech_bubble("hR[speech_bubble_test]", A, speech_bubble_recipients)
else //Turf, leave speech bubbles to the mob
speech_bubble("h[speech_bubble_test]", src, speech_bubble_recipients)