chore: fix debug warnings

This commit is contained in:
installer
2025-01-22 18:33:23 +01:00
parent 84035f36f4
commit 3ef5356560
4 changed files with 3 additions and 3 deletions

View File

@@ -34,7 +34,7 @@ func _on_score_timer_timeout() -> void:
else:
Global.meteor_base_timer -= 0.05;
Global.score += 1;
if Global.score / 50 > Global.ship_level:
if int(Global.score / 50.0) > Global.ship_level:
Global.ship_level += 1;
if Global.ship_level % 2 == 0:
Global.player_base_speed += 50;