diff options
author | ubq323 <ubq323@ubq323.website> | 2023-06-18 22:28:37 +0100 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2023-06-18 22:28:37 +0100 |
commit | f55c9f415a081a175e48b51db894f23e59ce47a2 (patch) | |
tree | ee63f98d5c4f1a2a11e9800ced9c2861eb3085a7 /client/util.lua | |
parent | 598bd4332deddd5f4c506689cbd136f495835ea7 (diff) |
fix line lengths
Diffstat (limited to 'client/util.lua')
-rw-r--r-- | client/util.lua | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/client/util.lua b/client/util.lua index efeac31..2c7d90a 100644 --- a/client/util.lua +++ b/client/util.lua @@ -7,8 +7,6 @@ local function print_good(str,x,y) local W,H = love.graphics.getDimensions() if x == "center" then x = (W/2)-(w/2) end if y == "center" then y = (H/2)-(h/2) end - if x < 0 then x = W-w-(-x)+1 end - if y < 0 then y = H-h-(-y)+1 end love.graphics.setColor(0,0,0,0.8) love.graphics.rectangle("fill",x,y,w,h) love.graphics.setColor(1,1,1) |