Daniele Bartolini 10 år sedan
förälder
incheckning
0b1f83be5c
1 ändrade filer med 3 tillägg och 3 borttagningar
  1. 3 3
      docs/lua_api.txt

+ 3 - 3
docs/lua_api.txt

@@ -335,7 +335,7 @@ Math
 UnitManager
 ===========
 
-	**create** ([world]) : Unit
+	**create** ([world]) : UnitId
 		Creates a new empty unit. If *world* is specified, the unit will be owned by
 		that world.
 
@@ -348,10 +348,10 @@ UnitManager
 World
 =====
 
-	**spawn_unit** (world, name, [position, rotation]) : Unit
+	**spawn_unit** (world, name, [position, rotation]) : UnitId
 		Spawns a new instance of the unit *name* at the given *position* and *rotation*.
 
-	**spawn_empty_unit** (world) : Unit
+	**spawn_empty_unit** (world) : UnitId
 		Spawns a new empty unit and returns its id.
 
 	**destroy_unit** (world, unit)