Fixed naming collision.
parent
7af58cf570
commit
f2704b0d98
|
@ -73,7 +73,7 @@
|
||||||
<h2><a href="#Fields">Fields</a></h2>
|
<h2><a href="#Fields">Fields</a></h2>
|
||||||
<table class="function_list">
|
<table class="function_list">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="name" nowrap><a href="#activate">activate</a></td>
|
<td class="name" nowrap><a href="#activate_automatically">activate_automatically</a></td>
|
||||||
<td class="summary">If the system should be automatically activated.</td>
|
<td class="summary">If the system should be automatically activated.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -187,8 +187,8 @@
|
||||||
<h2><a name="Fields"></a>Fields</h2>
|
<h2><a name="Fields"></a>Fields</h2>
|
||||||
<dl class="function">
|
<dl class="function">
|
||||||
<dt>
|
<dt>
|
||||||
<a name = "activate"></a>
|
<a name = "activate_automatically"></a>
|
||||||
<strong>activate</strong>
|
<strong>activate_automatically</strong>
|
||||||
</dt>
|
</dt>
|
||||||
<dd>
|
<dd>
|
||||||
If the system should be automatically activated.
|
If the system should be automatically activated.
|
||||||
|
|
|
@ -30,7 +30,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
-- the player inventory.
|
-- the player inventory.
|
||||||
autodrops = {
|
autodrops = {
|
||||||
--- If the system should be automatically activated.
|
--- If the system should be automatically activated.
|
||||||
activate = settings.get_bool("autodrops_activate"),
|
activate_automatically = settings.get_bool("autodrops_activate"),
|
||||||
|
|
||||||
--- If the system is currently active/has been activated.
|
--- If the system is currently active/has been activated.
|
||||||
active = false,
|
active = false,
|
||||||
|
@ -49,7 +49,7 @@ autodrops = {
|
||||||
--- Activates the autodrops system, if it has not been disabled in
|
--- Activates the autodrops system, if it has not been disabled in
|
||||||
-- configuration by setting "autodrops_activate" to false.
|
-- configuration by setting "autodrops_activate" to false.
|
||||||
function autodrops.activate()
|
function autodrops.activate()
|
||||||
if autodrops.activate then
|
if autodrops.activate_automatically then
|
||||||
autodrops.activate_internal()
|
autodrops.activate_internal()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue