Clean up runtime errors, fix VueUIs opening offscreen (#14025)

* Clean up runtime errors, fix VueUIs opening offscreen

* woops

* myazaki is based
This commit is contained in:
Wildkins
2022-05-20 18:36:14 +02:00
committed by GitHub
parent da0000f7f2
commit 2bb8db37b9
14 changed files with 51 additions and 22 deletions
@@ -7,7 +7,7 @@
maptext_y = 11
/obj/screen/mecha/proc/notify_user(var/mob/user, var/text)
if(user.loc == owner)
if(user && user.loc == owner)
to_chat(user, text)
/obj/screen/mecha/radio
@@ -342,4 +342,4 @@
maptext = "<span style=\"font-family: 'Small Fonts'; color: [main_color]; -dm-text-outline: 1 #242424; font-size: 5px;\">VOLUME</span>"
notify_user(usr, SPAN_NOTICE("You [owner.loudening ? "activate" : "deactivate"] \the [owner]'s integrated megaspeakers."))
#undef BAR_CAP
#undef BAR_CAP