Pixel-Composer/objects/o_dialog_menubox/Destroy_0.gml

6 lines
161 B
Plaintext

event_inherited();
if(instance_exists(submenu))
instance_destroy(submenu);
if(FOCUS == noone && instance_number(o_dialog_menubox) == 1) FOCUS = FOCUS_BEFORE;