Pixel-Composer/objects/o_main/Other_62.gml

15 lines
431 B
Plaintext
Raw Normal View History

2023-01-25 06:49:00 +01:00
/// @description network
2022-01-13 05:24:03 +01: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
}