--- a/LuaGears.wiki Fri Apr 19 16:07:50 2019 +0100
+++ b/LuaGears.wiki Fri Apr 19 16:08:15 2019 +0100
@@ -11,7 +11,7 @@
== Creation ==
-=== `AddXGear(x, y, gearType, state, dx, dy, timer)` ===
+=== `AddGear(x, y, gearType, state, dx, dy, timer)` ===
This creates a new gear at position x,y (measured from top left) of kind `gearType` (see [GearTypes Gear Types]).
The initial velocities are `dx` and `dy`. All arguments are numbers. The function returns the `uid` of the gear created. Gears can have multple states at once: `state` is a bitmask, the flag variables can be found in [States]. `timer` is the initial timer value of the gear. If a particular gear value does not matter, use `0`.