Pixel-Composer/objects/o_main/Other_62.gml

15 lines
443 B
Text
Raw Normal View History

2023-01-25 06:49:00 +01:00
/// @description network
2023-04-09 21:24:16 +02:00
//if (ds_map_find_value(async_load, "id") == version_check) {
// if (ds_map_find_value(async_load, "status") == 0) {
// var v = ds_map_find_value(async_load, "result");
// version_latest = toNumber(v);
// }
//}
2023-01-25 06:49:00 +01:00
if(ds_map_exists(global.FILE_LOAD_ASYNC, async_load[? "id"])) {
var cb = global.FILE_LOAD_ASYNC[? async_load[? "id"]];
var callback = cb[0];
var arguments = cb[1];
callback(arguments);
2022-01-13 05:24:03 +01:00
}