diff options
author | nikolas <nikolas@gnu.org> | 2019-08-07 15:15:53 -0400 |
---|---|---|
committer | glx22 <glx22@users.noreply.github.com> | 2019-08-07 21:15:53 +0200 |
commit | 10fe568f0888fe51b8f2570eb93e1cdc96f227f8 (patch) | |
tree | 582487aa9d7f6abbcdcacf53f2bd4a52767d43c3 /src/script/api | |
parent | 7a709002270a904843a81a846f22b53921cfcad1 (diff) | |
download | openttd-10fe568f0888fe51b8f2570eb93e1cdc96f227f8.tar.xz |
Fix: typo in ScriptList::Valuate param error (#7687)
Diffstat (limited to 'src/script/api')
-rw-r--r-- | src/script/api/script_list.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/api/script_list.cpp b/src/script/api/script_list.cpp index 13545c422..fe747028f 100644 --- a/src/script/api/script_list.cpp +++ b/src/script/api/script_list.cpp @@ -845,7 +845,7 @@ SQInteger ScriptList::Valuate(HSQUIRRELVM vm) int nparam = sq_gettop(vm) - 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 |