diff --git a/main.xml b/main.xml index eff4902..d0c0fad 100644 --- a/main.xml +++ b/main.xml @@ -1,3 +1,3 @@ - + \ No newline at end of file diff --git a/menus/immdomcopsmenu.lua b/menus/immdomcopsmenu.lua index 22372cc..ca86a0d 100644 --- a/menus/immdomcopsmenu.lua +++ b/menus/immdomcopsmenu.lua @@ -57,7 +57,7 @@ Hooks:Add('MenuManagerInitialize', 'immdomcops_init', function(menu_manager) end) Hooks:PostHook(MenuManager, "_node_selected", "IDC:Node", function(self, menu_name, node) - if type(node) == "table" and node._parameters.name == "main" and not immdomcops.settings.changelog_msg_shown or immdomcops.settings.changelog_msg_shown < 1.7 then + if type(node) == "table" and node._parameters.name == "main" and (not immdomcops.settings.changelog_msg_shown or immdomcops.settings.changelog_msg_shown and immdomcops.settings.changelog_msg_shown < 1.7) then DelayedCalls:Add("IDC_showchangelogmsg_delayed", 0.9, function() local menu_options = {} menu_options[#menu_options+1] = {text = "Understood", is_cancel_button = true} diff --git a/mod.txt b/mod.txt index bb09bbb..d80a2b1 100644 --- a/mod.txt +++ b/mod.txt @@ -3,7 +3,7 @@ "description" : "Gives immportality and visual highlights to dominated enemies.", "author" : "irbizzelus\nBased on Undeadsewer's Intimidated Outlines", "contact" : "Steam profile link is on my modworkshop account\nUndeadsewer: undeadsewer@gmail.com", - "version" : "1.7", + "version" : "1.7.01", "hooks" : [ { "hook_id" : "lib/units/enemies/cop/copmovement", "script_path" : "lua/copmovement.lua" }, { "hook_id" : "lib/units/enemies/cop/copdamage", "script_path" : "lua/copdamage.lua" },