fix monitor clearing
This commit is contained in:
parent
3e58a0d5b2
commit
29d3da0737
|
@ -9,10 +9,10 @@ end
|
|||
|
||||
while true do
|
||||
local players = pl_detector.getOnlinePlayers()
|
||||
mon.clear()
|
||||
for i, p in ipairs(players) do
|
||||
local pos = pl_detector.getPlayerPos(p)
|
||||
mon.setCursorPos(1, i)
|
||||
mon.clear()
|
||||
if pos == nil then
|
||||
mon.write(p .. " @ ?")
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue