bug: corrected listNearbyCrates() method not returning anything

This commit is contained in:
David Pierron 2025-01-04 22:01:19 +01:00
parent a5eb3b2609
commit c84b937e99

View File

@ -3968,7 +3968,7 @@ function ctld.listNearbyCrates(_args)
local _txt = ctld.i18n_translate("No Nearby Crates")
if _message ~= "" or _fobMsg ~= "" then
local _txt = ""
_txt = ""
if _message ~= "" then
_txt = ctld.i18n_translate("Nearby Crates:\n%1", _message)