1
0
Fork 0
mirror of https://github.com/notwa/mm synced 2024-11-05 05:39:02 -08:00

update for new gui.text behaviour

This commit is contained in:
Connor Olding 2015-12-11 00:44:18 -08:00
parent a957617933
commit bafaa7a1af

View file

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