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:
parent
2504fc90f1
commit
f554f53a47
2 changed files with 14 additions and 2 deletions
|
|
@ -68,7 +68,7 @@ function mod.new(texture, fsx, fsy)
|
|||
animations = {},
|
||||
currentAnimation = 0,
|
||||
currentFrame = 1,
|
||||
frameTimer = 0,
|
||||
frameTimer = ctr.time(),
|
||||
|
||||
draw = draw,
|
||||
addAnimation = addAnimation,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue