Fixed naming collision.
parent
7af58cf570
commit
f2704b0d98
|
@ -73,7 +73,7 @@
|
|||
<h2><a href="#Fields">Fields</a></h2>
|
||||
<table class="function_list">
|
||||
<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>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -187,8 +187,8 @@
|
|||
<h2><a name="Fields"></a>Fields</h2>
|
||||
<dl class="function">
|
||||
<dt>
|
||||
<a name = "activate"></a>
|
||||
<strong>activate</strong>
|
||||
<a name = "activate_automatically"></a>
|
||||
<strong>activate_automatically</strong>
|
||||
</dt>
|
||||
<dd>
|
||||
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.
|
||||
autodrops = {
|
||||
--- 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.
|
||||
active = false,
|
||||
|
@ -49,7 +49,7 @@ autodrops = {
|
|||
--- Activates the autodrops system, if it has not been disabled in
|
||||
-- configuration by setting "autodrops_activate" to false.
|
||||
function autodrops.activate()
|
||||
if autodrops.activate then
|
||||
if autodrops.activate_automatically then
|
||||
autodrops.activate_internal()
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue