diff --git a/entity.lua b/entity.lua index 22ec44e..645ea69 100644 --- a/entity.lua +++ b/entity.lua @@ -1,8 +1,9 @@ -local sounds_enabled = core.get_modpath("sounds") ~= nil local hit_sound -if sounds_enabled then +if core.get_modpath("default") then + hit_sound = "player_damage" +elseif core.get_modpath("sounds") then hit_sound = "sounds_entity_hit" end