Small cleanup, spacing, comments.

This commit is contained in:
2026-09-16 07:53:55 +02:00
parent 133c328c32
commit 54f0e4dcc6
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -31,9 +31,11 @@ update_ball :: proc(ball: ^Entity, level: ^Level, dt: f32) {
// first check the level timer are we waiting to serve?
if level.serve_timer > 0 {
level.serve_timer -= dt
if level.serve_timer <= 0 {
serve_ball(ball)
}
return
}