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 12:36:14 -04:00
committed by GitHub
parent da0000f7f2
commit 2bb8db37b9
14 changed files with 51 additions and 22 deletions
+5 -4
View File
@@ -137,11 +137,12 @@
if(isnull(scoped_accuracy))
scoped_accuracy = accuracy
if (!pin && needspin)
pin = /obj/item/device/firing_pin
if(pin && needspin)
if (needspin)
if(!pin)
pin = /obj/item/device/firing_pin
pin = new pin(src)
else
pin = null
if(istype(loc, /obj/item/robot_module))
has_safety = FALSE