Skip to content

Commit

Permalink
lua: remove redundant check for always present field in `edicts.ismes…
Browse files Browse the repository at this point in the history
…sage()`
  • Loading branch information
alexey-lysiuk committed Nov 16, 2024
1 parent c1a58de commit 858f43b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Misc/qs_pak/scripts/edicts.lua
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ function edicts.ismessage(edict)

local message = edict.message

if not message or #message == 0 then
if message == '' then
return
end

Expand Down

0 comments on commit 858f43b

Please sign in to comment.