diff --git a/doc/index.html b/doc/index.html
index 09979ea..b36c1b5 100644
--- a/doc/index.html
+++ b/doc/index.html
@@ -95,7 +95,7 @@
- activate |
+ activate_automatically |
If the system should be activated automatically. |
@@ -306,8 +306,8 @@
Fields
-
-
- activate
+
+ activate_automatically
-
If the system should be activated automatically.
diff --git a/mods/auto_hud_hide/autohudhide.lua b/mods/auto_hud_hide/autohudhide.lua
index 4e3ea61..99f9b9f 100644
--- a/mods/auto_hud_hide/autohudhide.lua
+++ b/mods/auto_hud_hide/autohudhide.lua
@@ -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.
autohudhide = {
--- 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.
active = false,
@@ -57,7 +57,7 @@ autohudhide = {
--- Activates the system, if it has not been deactivated in the configuration
-- by settings autohudhide_activate to false.
function autohudhide.activate()
- if autohudhide.activate then
+ if autohudhide.activate_automatically then
autohudhide.activate_internal()
end
end