Pixel-Composer/objects/o_main/Other_62.gml
2023-01-25 12:49:00 +07:00

15 lines
431 B
Plaintext

/// @description network
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);
}
}
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);
}