mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-23 13:05:44 +01:00
Small Weapon Sounds Fix (#22912)
This logic error turns into a runtime error when compiled in OpenDream, in addition to just not working at all.
This commit is contained in:
@@ -66,7 +66,7 @@
|
||||
if(use_material_name)
|
||||
name = "[material.display_name] [initial(name)]"
|
||||
if(use_material_sound)
|
||||
if(sharp && !material.weapon_hitsound == 'sound/weapons/metalhit.ogg' || !sharp)
|
||||
if(!sharp || material.weapon_hitsound == 'sound/weapons/metalhit.ogg')
|
||||
// wooden swords don't sound like metal swords.
|
||||
// metalhit check is so swords when metal use their regular slice sfx.
|
||||
hitsound = material.weapon_hitsound
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
author: Hellfirejag
|
||||
delete-after: True
|
||||
changes:
|
||||
- bugfix: "Fixed a small logic error in melee weapon sound effects."
|
||||
Reference in New Issue
Block a user