DexTool/Project/scripts/lock_destroy/lock_destroy.gml
2021-03-01 14:01:14 -06:00

17 lines
348 B
Plaintext

///lock_destroy()
function 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();
}