Hello everyone I have a problem with ursina, showing a number for how many bullets the player has but it stops working after the first bullet...THANKS!
def input(key):
all_ammo=100
round_ammo=100
ammo=Text(
color=color.red,
scale=1,
position=(0.8,0.5)
)
if key=="left mouse down":
round_ammo-=1
ammo.text=f"{all_ammo} {round_ammo}"