fix monitor clearing

This commit is contained in:
LordMZTE 2021-11-14 00:45:37 +01:00
parent 3e58a0d5b2
commit 29d3da0737
1 changed files with 1 additions and 1 deletions

View File

@ -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