Daniele Bartolini 9 years ago
parent
commit
efe8aa8b36
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/lua_api.rst

+ 1 - 1
docs/lua_api.rst

@@ -617,7 +617,7 @@ Sprite
 **sprite_destroy** (rw, id)
 	Destroys the sprite *id*.
 
-**sprite_set_frame** (rw, id, frame)
+**sprite_set_frame** (rw, id, index)
 	Sets the frame *index* of the sprite *id*.
 
 **sprite_set_visible** (rw, id, visible)