mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-12-26 23:17:25 +01:00
8 lines
No EOL
375 B
Text
8 lines
No EOL
375 B
Text
/// @description
|
|
#region process management
|
|
global.PROC_ID = int64(environment_get_variable_exists("process_id")? environment_get_variable("process_id") : 0);
|
|
environment_set_variable("process_id", string(global.PROC_ID + 1));
|
|
|
|
if (global.PROC_ID == 0) instance_create(0, 0, o_main);
|
|
else if (global.PROC_ID == 1) instance_create(0, 0, o_crash_handler);
|
|
#endregion |