Fixed typo.

master
Robert Zenz 2015-07-28 19:40:04 +02:00
parent d604de714f
commit 28f494b69b
2 changed files with 7 additions and 7 deletions

View File

@ -68,7 +68,7 @@
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#spawnusher.activate">spawnusher.activate</a>&nbsp;(random_placement_radius, required_air_bubble_size, retry_time)</td>
<td class="name" nowrap><a href="#spawnusher.activate">spawnusher.activate</a>&nbsp;(random_placement_radius, required_bubble_size, retry_time)</td>
<td class="summary">Activates the spawn usher system.</td>
</tr>
@ -120,7 +120,7 @@
<dt><a name="spawnusher.activate"></a><strong>spawnusher.activate</strong>&nbsp;(random_placement_radius, required_air_bubble_size, retry_time)</dt>
<dt><a name="spawnusher.activate"></a><strong>spawnusher.activate</strong>&nbsp;(random_placement_radius, required_bubble_size, retry_time)</dt>
<dd>
Activates the spawn usher system.
@ -133,7 +133,7 @@ Activates the spawn usher system.
</li>
<li>
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.
</li>
<li>

View File

@ -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