From: Neil Date: Sat, 5 Mar 2016 20:21:34 +0000 (+0200) Subject: pass sound to gun X-Git-Url: https://git.ctpug.org.za/?a=commitdiff_plain;h=41fd09717b0a2a9f3523818f50fa7c3206f005a8;p=koperkapel.git pass sound to gun --- diff --git a/koperkapel/weapons.py b/koperkapel/weapons.py index 0050879..3962ecc 100644 --- a/koperkapel/weapons.py +++ b/koperkapel/weapons.py @@ -22,7 +22,7 @@ WEAPONS = [ image_name="blank", frames=("",), sound="fire_spit"), Weapon("butter_knife", damage=2), Weapon("crowbar", damage=4), - Weapon("gun", damage=4, bullet_range=4), + Weapon("gun", damage=4, bullet_range=4, sound='gun_fire'), ] WEAPON_LOOKUP = {w.name: w for w in WEAPONS}