Przeglądaj źródła

Fix load bullet argument

DricomDragon 3 lat temu
rodzic
commit
420ff139e6
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      godot/scripts/Launcher.gd

+ 1 - 1
godot/scripts/Launcher.gd

@@ -44,7 +44,7 @@ func shoot():
 
 
 func loadBullet(n:int):
-	nbStorage += 1
+	nbStorage += n
 
 
 func _on_ShootDelay_timeout():