From 62ed092e7cdb70cb97d36736605428457f948fae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edvard=20Th=C3=B6rnros?= Date: Sun, 31 Jan 2021 10:17:30 +0100 Subject: remove unused --- pong/pong.tdy | 3 --- 1 file changed, 3 deletions(-) diff --git a/pong/pong.tdy b/pong/pong.tdy index fc54e36..d79175d 100644 --- a/pong/pong.tdy +++ b/pong/pong.tdy @@ -108,7 +108,6 @@ update := fn state: State { state.ball.vy = -abs(state.ball.vy) } - ball_and_paddle_check(state.p1.paddle, state.ball) ball_and_paddle_check(state.p2.paddle, state.ball) } @@ -123,8 +122,6 @@ draw := fn state: State { } init := fn { - running := true - state := State() state.ball = Ball() state.ball.x = 10.0 -- cgit v1.2.1