Skip to content

Commit

Permalink
thanks to leer
Browse files Browse the repository at this point in the history
  • Loading branch information
mcagabe19 authored Aug 21, 2024
1 parent eac46fe commit c9d13b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/psychlua/FunkinLua.hx
Original file line number Diff line number Diff line change
Expand Up @@ -1637,7 +1637,7 @@ class FunkinLua {
return;
}

if (Type.typeof(data) == TFunction) {
if (Reflect.isFunction(data)) {
Lua_helper.add_callback(lua, variable, data);
return;
}
Expand Down Expand Up @@ -1844,4 +1844,4 @@ class FunkinLua {
return false;
}
}
#end
#end

0 comments on commit c9d13b2

Please sign in to comment.