Skip to content

Commit

Permalink
Update lua_hud.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
LoboEire committed Dec 22, 2024
1 parent 11f2d20 commit 2f5ea68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source_files/edge/script/compat/lua_hud.cc
Original file line number Diff line number Diff line change
Expand Up @@ -170,14 +170,14 @@ static int HD_text_font(lua_State *L)
if (!DEF)
{
lua_pushboolean(L, 0);
return 0;
return 1;
}

Font *font = hud_fonts.Lookup(DEF);
if (!font)
{
lua_pushboolean(L, 0);
return 0;
return 1;
}

HUDSetFont(font);
Expand Down

0 comments on commit 2f5ea68

Please sign in to comment.