Fixed naming collision.
This commit is contained in:
parent
f1db6405ed
commit
1fa65fc7d9
@ -95,7 +95,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 activated automatically.</td>
|
<td class="summary">If the system should be activated automatically.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@ -306,8 +306,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 activated automatically.
|
If the system should be activated automatically.
|
||||||
|
@ -29,7 +29,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||||||
--- A system which automatically hides hud items if there are no changes.
|
--- A system which automatically hides hud items if there are no changes.
|
||||||
autohudhide = {
|
autohudhide = {
|
||||||
--- If the system should be activated automatically.
|
--- If the system should be activated automatically.
|
||||||
activate = settings.get_bool("autohudhide_activate", true),
|
activate_automatically = settings.get_bool("autohudhide_activate", true),
|
||||||
|
|
||||||
--- If the system is currently active/has been activated.
|
--- If the system is currently active/has been activated.
|
||||||
active = false,
|
active = false,
|
||||||
@ -57,7 +57,7 @@ autohudhide = {
|
|||||||
--- Activates the system, if it has not been deactivated in the configuration
|
--- Activates the system, if it has not been deactivated in the configuration
|
||||||
-- by settings autohudhide_activate to false.
|
-- by settings autohudhide_activate to false.
|
||||||
function autohudhide.activate()
|
function autohudhide.activate()
|
||||||
if autohudhide.activate then
|
if autohudhide.activate_automatically then
|
||||||
autohudhide.activate_internal()
|
autohudhide.activate_internal()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user