mirror of https://github.com/mgba-emu/mgba.git
Scripting: Fix cast failure
This commit is contained in:
parent
2e00104d1a
commit
4c1e736915
src/script
|
@ -743,7 +743,7 @@ bool mScriptCast(const struct mScriptType* type, const struct mScriptValue* inpu
|
|||
if (input->type->cast && input->type->cast(input, type, output)) {
|
||||
return true;
|
||||
}
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
bool mScriptCoerceFrame(const struct mScriptTypeTuple* types, struct mScriptList* frame) {
|
||||
|
|
Loading…
Reference in New Issue