mirror of
https://github.com/Earu/EasyChat.git
synced 2025-03-04 03:13:20 -05:00
use EngineNick if it exists
This commit is contained in:
parent
72400178e1
commit
65483d5594
@ -1,7 +1,7 @@
|
||||
local TAG = "EasyChatEngineChatHack"
|
||||
|
||||
local PLY_META = FindMetaTable("Player")
|
||||
local old_nick = PLY_META.Nick
|
||||
local old_nick = PLY_META.EngineNick or PLY_META.Nick
|
||||
if debug.getinfo(old_nick).source == "=[C]" then
|
||||
function PLY_META:Nick()
|
||||
-- we do this because steam censors player's names if they have "steam" in there
|
||||
|
Loading…
Reference in New Issue
Block a user