mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-12-30 17:06:27 +01:00
16 lines
No EOL
470 B
Text
16 lines
No EOL
470 B
Text
/// @description
|
|
if(!ready) exit;
|
|
var runResult = lua_call(thread, "destroy");
|
|
|
|
array_remove(ANIMATION_PRE, animationPreStep);
|
|
array_remove(ANIMATION_POST, animationPostStep);
|
|
|
|
var arr = variable_struct_get_names(context_menus);
|
|
for( var i = 0, n = array_length(arr); i < n; i++ ) {
|
|
var _call = ds_map_try_get(CONTEXT_MENU_CALLBACK, arr[i], []);
|
|
|
|
for( var j = array_length(_call) - 1; j >= 0; j-- ) {
|
|
if(_call[j]._addon == self)
|
|
array_delete(_call, j, 1);
|
|
}
|
|
} |