diff --git a/doc/files/mods/spawn_usher/spawnusher.html b/doc/files/mods/spawn_usher/spawnusher.html index 6c2fa8f..fb4a625 100644 --- a/doc/files/mods/spawn_usher/spawnusher.html +++ b/doc/files/mods/spawn_usher/spawnusher.html @@ -68,7 +68,7 @@ - + @@ -120,7 +120,7 @@ -
spawnusher.activate (random_placement_radius, required_air_bubble_size, retry_time)
+
spawnusher.activate (random_placement_radius, required_bubble_size, retry_time)
Activates the spawn usher system. @@ -133,7 +133,7 @@ Activates the spawn usher system.
  • - required_air_bubble_size: Optional. The size/height of the bubble of air that is required for the player to spawn. Defaults to 2. + required_bubble_size: Optional. The size/height of the bubble of air that is required for the player to spawn. Defaults to 2.
  • diff --git a/mods/spawn_usher/spawnusher.lua b/mods/spawn_usher/spawnusher.lua index 444c254..d3252bc 100644 --- a/mods/spawn_usher/spawnusher.lua +++ b/mods/spawn_usher/spawnusher.lua @@ -49,12 +49,12 @@ spawnusher = { -- -- @param random_placement_radius Optional. The player will be respawned in -- the given radius around the spawn point. --- @param required_air_bubble_size Optional. The size/height of the bubble of --- air that is required for the player to spawn. --- Defaults to 2. +-- @param required_bubble_size Optional. The size/height of the bubble of +-- air that is required for the player to spawn. +-- Defaults to 2. -- @param retry_time Optional. This is the time that passes between tries to -- place to the player. -function spawnusher.activate(random_placement_radius, required_air_bubble_size, retry_time) +function spawnusher.activate(random_placement_radius, required_bubble_size, retry_time) spawnusher.random_placement_radius = random_placement_radius or 40 spawnusher.required_bubble_size = required_bubble_size or 2 spawnusher.retry_time = retry_time or 0.5
  • spawnusher.activate (random_placement_radius, required_air_bubble_size, retry_time)spawnusher.activate (random_placement_radius, required_bubble_size, retry_time) Activates the spawn usher system.