mirror of
https://github.com/Earu/EasyChat.git
synced 2025-03-04 03:13:20 -05:00
slight fix
This commit is contained in:
parent
58631671a5
commit
4f8e8564f1
@ -392,12 +392,12 @@ local font_part = {
|
||||
}
|
||||
|
||||
function font_part:Ctor(str)
|
||||
if not surface.GetLuaFonts then
|
||||
if not surface_GetLuaFonts then
|
||||
self.Invalid = true
|
||||
return self
|
||||
end
|
||||
|
||||
local lua_fonts = surface.GetLuaFonts()
|
||||
local lua_fonts = surface_GetLuaFonts()
|
||||
local succ = lua_fonts[string_lower(str)] ~= nil
|
||||
self.Font = succ and str or self.HUD.DefaultFont
|
||||
if not succ then
|
||||
|
Loading…
Reference in New Issue
Block a user