summaryrefslogtreecommitdiff
path: root/examples/pong
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pong')
-rw-r--r--examples/pong/main.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/pong/main.lua b/examples/pong/main.lua
index 635b355..fc8cd75 100644
--- a/examples/pong/main.lua
+++ b/examples/pong/main.lua
@@ -69,7 +69,7 @@ function RL.init()
reset()
end
-function RL.process( delta )
+function RL.update( delta )
-- Left player controls.
if RL.IsKeyDown( RL.KEY_W ) and 0 < playerLeft.pos.y then
playerLeft.pos.y = playerLeft.pos.y - PLAYER_SPEED * delta