Fixes swoopie runtime (#19404)

* swoopie runtime

* fix this

* adjustment

* Update turf.dm
This commit is contained in:
Cameron Lennox
2026-04-11 11:28:18 -04:00
committed by GitHub
parent 35a57349e0
commit 90a1a04593
4 changed files with 10 additions and 5 deletions
+1 -1
View File
@@ -72,7 +72,7 @@ GLOBAL_LIST_EMPTY(env_messages)
if(!istype(src) || !get_turf(src) || !src.ckey)
return
var/new_message = tgui_input_text(src, "Type in your message. It will be displayed to players who hover over the spot where you are right now. If you already have a message somewhere, it will be removed in the process. Please refrain from abusive or deceptive messages, but otherwise, feel free to be creative!", "Env Message", MAX_MESSAGE_LEN)
var/new_message = tgui_input_text(src, "Type in your message. It will be displayed to players who hover over the spot where you are right now. If you already have a message somewhere, it will be removed in the process. Please refrain from abusive or deceptive messages, but otherwise, feel free to be creative!", "Env Message", max_length = MAX_MESSAGE_LEN)
if(!new_message)
return
@@ -56,7 +56,7 @@
init_vore()
Vac = new /obj/item/vac_attachment/swoopie(src)
if(istype(Vac))
Vac.output_dest = vore_selected
Vac.output_dest = WEAKREF(vore_selected)
Vac.vac_power = 3
Vac.vac_owner = src
@@ -202,9 +202,10 @@
L.remove_from_mob(Vac, src)
else
Vac.forceMove(src)
if(!Vac.output_dest)
var/atom/movable/vac_output = Vac.output_dest?.resolve()
if(!vac_output)
if(isbelly(vore_selected))
Vac.output_dest = vore_selected
Vac.output_dest = WEAKREF(vore_selected)
if(!istype(T) || !istype(Vac) || !has_AI() || Vac.loc != src || stat)
return
if(istype(T, /turf/simulated))