1
0
Fork 0
mirror of https://github.com/ctruLua/ctruLua.git synced 2025-10-28 00:39:30 +00:00

ctr.time() returns a negative value; updated documentation and sprite.lua

This commit is contained in:
Reuh 2016-04-25 21:02:32 +02:00
parent 2504fc90f1
commit f554f53a47
2 changed files with 14 additions and 2 deletions

View file

@ -68,7 +68,7 @@ function mod.new(texture, fsx, fsy)
animations = {},
currentAnimation = 0,
currentFrame = 1,
frameTimer = 0,
frameTimer = ctr.time(),
draw = draw,
addAnimation = addAnimation,