mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-18 11:48:02 -04:00
Merge branch 'patch-3' of git://github.com/ReTeYeZ/OpenComputers
This commit is contained in:
commit
4adee24d56
@ -24,10 +24,8 @@ cellDiameter = tonumber(input[4]) or 1
|
||||
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:width> <int:length> <int:cellHeight> <int:cellDiameter> <bool:refuel>")
|
||||
return
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user