Amended script command checkweight documentation

* Fixes #1917.
* Second example is about arrays and should use script command checkweight2.
Thanks to @lucasoli!
This commit is contained in:
aleos89 2017-01-26 09:05:02 -05:00
parent 10c4bacab5
commit 6e9cd4404a

View File

@ -3479,7 +3479,7 @@ Example 2:
setarray .@item[0],512,513,514;
setarray .@amount[0],10,5,5;
if (!checkweight(.@item,.@amount)) {
if (!checkweight2(.@item,.@amount)) {
mes "Sorry, you cannot hold this amount of fruit!";
}