diff --git a/source_files/edge/script/compat/lua_hud.cc b/source_files/edge/script/compat/lua_hud.cc index 0edff50ca..40c64c327 100644 --- a/source_files/edge/script/compat/lua_hud.cc +++ b/source_files/edge/script/compat/lua_hud.cc @@ -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);