Code polish

This commit is contained in:
2024-10-14 20:16:34 +02:00
parent faf704dc53
commit 50d5dbe3e0
4 changed files with 23 additions and 16 deletions

View File

@@ -86,7 +86,12 @@ function(allstates, e, prefix, msg, ...)
end
local stinky = aura_env.stinkies[name]
if not stinky then return false end
if not stinky then
if aura_env.config.debug then
print(string.format("Could not find stinky for %s", name))
end
return false
end
if not allstates[name] then
PlaySoundFile("Interface\\Sounds\\Domination.ogg", "Master")