Scripting: Fix cast failure

This commit is contained in:
Vicki Pfau 2022-04-28 19:47:31 -07:00
parent 2e00104d1a
commit 4c1e736915
1 changed files with 1 additions and 1 deletions

View File

@ -743,7 +743,7 @@ bool mScriptCast(const struct mScriptType* type, const struct mScriptValue* inpu
if (input->type->cast && input->type->cast(input, type, output)) { if (input->type->cast && input->type->cast(input, type, output)) {
return true; return true;
} }
return true; return false;
} }
bool mScriptCoerceFrame(const struct mScriptTypeTuple* types, struct mScriptList* frame) { bool mScriptCoerceFrame(const struct mScriptTypeTuple* types, struct mScriptList* frame) {