mirror of
https://github.com/Earu/EasyChat.git
synced 2025-03-04 03:13:20 -05:00
Changes for developers, and fix a slight bug related to translations
This commit is contained in:
parent
1f926c70d6
commit
09be25d714
@ -330,7 +330,7 @@ if CLIENT then
|
||||
if not suppress then
|
||||
-- call the gamemode function if we're not suppressed otherwise it wont display
|
||||
GAMEMODE:OnPlayerChat(ply, msg, is_team, is_dead, is_local)
|
||||
if msg ~= translation then
|
||||
if translation and msg ~= translation then
|
||||
chat.AddText(ply, ("▲ %s ▲"):format(translation))
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user