Merge pull request #4896 from VOREStation/pol-qdels

Fix several Destoy()s
This commit is contained in:
Anewbe
2018-02-21 10:01:23 -06:00
committed by GitHub
8 changed files with 77 additions and 43 deletions
+3
View File
@@ -94,6 +94,9 @@
var/invis_toggle = FALSE
var/list/sub_planes
/obj/screen/plane_master/New()
..(null) //Never be in anything ever.
/obj/screen/plane_master/proc/set_desired_alpha(var/new_alpha)
if(new_alpha != alpha && new_alpha > 0 && new_alpha <= 255)
desired_alpha = new_alpha
+4
View File
@@ -5,6 +5,10 @@
/datum/nano_module/New(var/host)
src.host = host
/datum/nano_module/Destroy()
host = null
return ..()
/datum/nano_module/nano_host()
return host ? host : src