Many fixes
This commit is contained in:
parent
f234ca974e
commit
e758c9f042
11 changed files with 8784 additions and 8739 deletions
|
|
@ -76,3 +76,9 @@ func take_damage(damage: int):
|
|||
hp -= damage
|
||||
damaged.emit()
|
||||
$DamageAudio.multiplayer_play()
|
||||
|
||||
func show_weapon(weapon: StringName):
|
||||
for model in weapon_models:
|
||||
weapon_models[model].hide()
|
||||
if weapon_models.has(weapon):
|
||||
weapon_models[weapon].show()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue