mirror of
https://github.com/notwa/mm
synced 2024-11-05 03:39:02 -08:00
update for new gui.text behaviour
This commit is contained in:
parent
a957617933
commit
bafaa7a1af
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ function T(x, y, color, pos, s, ...)
|
||||||
if #{...} > 0 then
|
if #{...} > 0 then
|
||||||
s = s:format(...)
|
s = s:format(...)
|
||||||
end
|
end
|
||||||
gui.text(10*x + 2, 16*y + 4, s, nil, color or "white", pos or "bottomright")
|
gui.text(10*x + 2, 16*y + 4, s, color or "white", nil, pos or "bottomright")
|
||||||
end
|
end
|
||||||
|
|
||||||
function T_BR(x, y, color, ...) T(x, y, color, "bottomright", ...) end
|
function T_BR(x, y, color, ...) T(x, y, color, "bottomright", ...) end
|
||||||
|
|
Loading…
Reference in a new issue