aboutsummaryrefslogtreecommitdiff
path: root/examples/text_writing_anim.lua
diff options
context:
space:
mode:
authorraysan5 <raysan5@gmail.com>2016-08-06 19:29:58 +0200
committerraysan5 <raysan5@gmail.com>2016-08-06 19:29:58 +0200
commit865b216ebef8e62a19f3a264001ddf17601f95c5 (patch)
treef31468099c8d85cf8767161c3e9c4b16391276d1 /examples/text_writing_anim.lua
parent7f9513fbf41e9d340307fc0f9aeed8e5f4293a96 (diff)
downloadraylib-865b216ebef8e62a19f3a264001ddf17601f95c5.tar.gz
raylib-865b216ebef8e62a19f3a264001ddf17601f95c5.zip
Updated Lua examples
Most of the examples already working! Only some of them still fail, mostly related to data arrays...
Diffstat (limited to 'examples/text_writing_anim.lua')
-rw-r--r--examples/text_writing_anim.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/text_writing_anim.lua b/examples/text_writing_anim.lua
index 05195dc4..f4af9f58 100644
--- a/examples/text_writing_anim.lua
+++ b/examples/text_writing_anim.lua
@@ -38,7 +38,7 @@ while not WindowShouldClose() do -- Detect window close button or ESC
ClearBackground(RAYWHITE)
- DrawText(string.sub(message, 0, framesCounter/10), 210, 160, 20, MAROON)
+ DrawText(string.sub(message, 0, framesCounter//10), 210, 160, 20, MAROON)
DrawText("PRESS [ENTER] to RESTART!", 240, 280, 20, LIGHTGRAY)