Small fix to the error output

This commit is contained in:
ReTeYeZ 2014-06-14 18:38:32 +02:00
parent 8c4d2e2936
commit f5326c987c

View File

@ -27,7 +27,7 @@ autoRefuel = input[5] or "false"
if mazeWidth < 2 or mazeLength < 2 or cellHeight < 1 or cellDiameter < 1 or autoRefuel ~= "true" and autoRefuel ~= "false" then
print("Error!(Note: Width and Length have to be > 1)")
print("Usage: MazeGen(int:MazeWidth int:MazeLength int:CellHeight int:CellDiameter bool:AutoRefuel)")
print("Usage: maze int:MazeWidth int:MazeLength int:CellHeight int:CellDiameter bool:AutoRefuel")
return
end