mirror of https://github.com/OpenTTD/OpenTTD
Fix: typo in ScriptList::Valuate param error (#7687)
parent
7a70900227
commit
10fe568f08
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue