Adds QDEL_NULL to qdel and null a variable (#24099)

* Adds QDEL_N to qdel and null a variable

* Booooo
This commit is contained in:
Cyberboss
2017-02-18 02:21:05 -05:00
committed by oranges
parent f826f5949e
commit ef3d2a635c
+1
View File
@@ -1286,6 +1286,7 @@ proc/pick_closest_path(value, list/matches = get_fancy_list_of_atom_types())
#define RANDOM_COLOUR (rgb(rand(0,255),rand(0,255),rand(0,255)))
#define QDEL_IN(item, time) addtimer(CALLBACK(GLOBAL_PROC, .proc/qdel, item), time, TIMER_STOPPABLE)
#define QDEL_NULL(item) qdel(item); item = null
/proc/random_nukecode()
var/val = rand(0, 99999)