DexTool/Project/scripts/lock_destroy/lock_destroy.gml
2020-03-01 19:29:47 -06:00

12 lines
309 B
Plaintext

///lock_destroy()
global.selecting = noone;
with (obj_lock.info) { instance_destroy() };
with (obj_lock.area) { instance_destroy() };
with (obj_lock.plus) { instance_destroy() };
with (obj_lock.minus) { instance_destroy() };
if (instance_exists(obj_lock))
with (obj_lock)
instance_destroy();