diff options
Diffstat (limited to 'worms.lua')
| -rw-r--r-- | worms.lua | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1,8 +1,7 @@ local NFRUITS = 10 local NWORMS = 20 - -local M = peripheral.find"monitor" +local M = settings.get("monitor.worms", peripheral.find"monitor") local W,H = M.getSize() local function new_fruit() return {math.random(W), math.random(H)} end |
