font size fix
This commit is contained in:
parent
44b6c3ed49
commit
ba21b3af94
|
@ -761,7 +761,7 @@ static int luaB_text_size(lua_State *L) {
|
|||
return 0;
|
||||
if (!text) {
|
||||
w = 0;
|
||||
h = fnt_height(fn->fnt);
|
||||
h = fnt_height(fn->fnt) / game_theme.scale;
|
||||
} else
|
||||
txt_size(fn->fnt, text, &w, &h);
|
||||
lua_pushnumber(L, w);
|
||||
|
|
Loading…
Reference in a new issue