diff --git a/luamods/wolfadmin/game/sprees.lua b/luamods/wolfadmin/game/sprees.lua index c072bb6..0d6e47a 100644 --- a/luamods/wolfadmin/game/sprees.lua +++ b/luamods/wolfadmin/game/sprees.lua @@ -207,7 +207,7 @@ function sprees.onPlayerSpree(clientId, type, sourceId) end local settingSpreeMessages = settings.get("g_spreeMessages") - if settingSpreeMessages ~= 0 and bits.hasbit(settingSpreeMessages, 2^type) then + if settingSpreeMessages ~= 0 and bits.hasbit(settingSpreeMessages, 2^type) and #spreeMessagesByType[type] > 0 then local spreeMessage = spreeMessages[type][currentSpree] if spreeMessage then