1
0
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:
Earu 2021-09-08 19:18:34 +02:00
parent 1f926c70d6
commit 09be25d714

View File

@ -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