Fix: typo in ScriptList::Valuate param error (#7687)
This commit is contained in:
@@ -845,7 +845,7 @@ SQInteger ScriptList::Valuate(HSQUIRRELVM vm)
|
|||||||
int nparam = sq_gettop(vm) - 1;
|
int nparam = sq_gettop(vm) - 1;
|
||||||
|
|
||||||
if (nparam < 1) {
|
if (nparam < 1) {
|
||||||
return sq_throwerror(vm, "You need to give a least a Valuator as parameter to ScriptList::Valuate");
|
return sq_throwerror(vm, "You need to give at least a Valuator as parameter to ScriptList::Valuate");
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Make sure the valuator function is really a function, and not any
|
/* Make sure the valuator function is really a function, and not any
|
||||||
|
Reference in New Issue
Block a user