Merge pull request #7941 from MistakeNot4892/fixes

Small cleanup from init PR.
This commit is contained in:
Atermonera
2021-03-07 13:07:48 -08:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -404,7 +404,7 @@ nanoui is used to open and update nano browser uis
// An attempted fix to UIs sometimes locking up spamming runtime errors due to src_object being null for whatever reason.
// This hard-deletes the UI, preventing the device that uses the UI from being locked up permanently.
if(!src_object)
qdel(src)
del(src)
var/window_size = ""
if (width && height)

View File

@@ -31,7 +31,7 @@
var/last_activate = null
/obj/item/organ/internal/augment/Initialize()
. ..()
. = ..()
setup_radial_icon()
if(integrated_object_type)
integrated_object = new integrated_object_type(src)