summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2022-08-04 02:47:22 +0100
committerubq323 <ubq323@ubq323.website>2022-08-04 02:47:22 +0100
commit5bfe7c3c9a100332a952cc211e41d174b1206c83 (patch)
tree6ba6186fdbd80d80952734ed67019d8b1a6b4aec
parent376d6a72543de7dc6945c23b3ac965c2a507c423 (diff)
chat
-rw-r--r--chat.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/chat.lua b/chat.lua
index 573d080..6e44d56 100644
--- a/chat.lua
+++ b/chat.lua
@@ -12,7 +12,7 @@ local wLog = window.create(M,1,1,Mw-lbw,Mh)
-- wLog.setBackgroundColor(colors.blue)
-- wLog.clear()
-- wLog.write("LOG")
-local wLb = window.create(M,Mw-lbw+1,1,lbw-1,11)
+local wLb = window.create(M,Mw-lbw+1,1,lbw,11)
-- wLb.setBackgroundColor(colors.red)
-- wLb.clear()
-- wLb.write("LB")
@@ -71,7 +71,7 @@ local function draw_lb(W,scores)
W.write(name)
-- score
W.setTextColor(colors.red)
- W.setCursorPos(w-scorewidth,i+1)
+ W.setCursorPos(w-scorewidth+1,i+1)
W.write(pad_r(score,scorewidth))
end
end