Add waitfor=FALSE to visible_message (#13885)

This commit is contained in:
Wildkins
2022-05-14 03:34:54 +02:00
committed by GitHub
parent 14257e0016
commit d20dae5f9e
4 changed files with 13 additions and 2 deletions
+2 -1
View File
@@ -111,6 +111,7 @@
// blind_message (optional) is what blind people will hear e.g. "You hear something!"
/mob/visible_message(var/message, var/self_message, var/blind_message, var/range = world.view, var/show_observers = TRUE, var/intent_message = null, var/intent_range = 7)
set waitfor = FALSE
var/list/messageturfs = list() //List of turfs we broadcast to.
var/list/messagemobs = list() //List of living mobs nearby who can hear it, and distant ghosts who've chosen to hear it
var/list/messageobjs = list() //list of objs nearby who can see it
@@ -1473,4 +1474,4 @@
if(!check_has_body_select())
return
var/obj/screen/zone_sel/selector = mob.zone_sel
selector.set_selected_zone(next_in_list(mob.zone_sel.selecting,zones))
selector.set_selected_zone(next_in_list(mob.zone_sel.selecting,zones))