mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-21 20:11:04 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user