Skip to content

Commit

Permalink
Merge pull request #279 from niefia/fixes
Browse files Browse the repository at this point in the history
Fix - Out of ammo hint to use Ammo name
  • Loading branch information
Phazorknight authored Sep 19, 2024
2 parents 1510400 + cb1abcb commit de4c235
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion COGITO/Components/PlayerInteractionComponent.gd
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ func attempt_action_primary(is_released: bool):
print("Nothing equipped, but is_wielding was true. This shouldn't happen!")
return
if equipped_wieldable_item.charge_current == 0:
send_hint(null, equipped_wieldable_item.name + " is out of ammo.")
send_hint(null, equipped_wieldable_item.name + " is out of " + equipped_wieldable_item.ammo_item_name)
else:
equipped_wieldable_node.action_primary(equipped_wieldable_item, is_released)

Expand Down

0 comments on commit de4c235

Please sign in to comment.