mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-13 05:57:00 -04:00
Fix type error in error handler
This commit is contained in:
@@ -48,7 +48,7 @@ SCRIPT_FUNCTION_WITH_DEP(combined_editor) {
|
|||||||
} else if (i > 0) break;
|
} else if (i > 0) break;
|
||||||
}
|
}
|
||||||
if (separators.size() < values.size() - 1) {
|
if (separators.size() < values.size() - 1) {
|
||||||
throw ScriptError(String::Format(_("Not enough separators for combine_editor, expected %d"), values.size()-1));
|
throw ScriptError(String::Format(_("Not enough separators for combine_editor, expected %d"), static_cast<int>(values.size()-1)));
|
||||||
}
|
}
|
||||||
// the value
|
// the value
|
||||||
SCRIPT_PARAM_C(String, value);
|
SCRIPT_PARAM_C(String, value);
|
||||||
|
|||||||
Reference in New Issue
Block a user