Skip to content

Commit

Permalink
Fix error in bbmod_async_save_load_update in GM 2024.11
Browse files Browse the repository at this point in the history
  • Loading branch information
kraifpatrik committed Jan 4, 2025
1 parent b03259a commit 0e53f04
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions BBMOD_GML/scripts/__bbmod_async/__bbmod_async.gml
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,18 @@ function bbmod_buffer_load_async(_file, _callback)
function bbmod_async_save_load_update(_asyncLoad)
{
var _map = global.__bbmodAsyncCallback;

var _id = _asyncLoad[? "id"];
if (_id == undefined)
{
return;
}

var _data = _map[? _id];
if (_data == undefined)
{
return;
}

if (_asyncLoad[? "status"] == false)
{
Expand Down

0 comments on commit 0e53f04

Please sign in to comment.