Skip to content

Commit

Permalink
1.7.01
Browse files Browse the repository at this point in the history
  • Loading branch information
irbizzelus committed Jan 24, 2024
1 parent 2c04987 commit 714eb66
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion main.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<mod name="Immortal Dominated Cops" author="irbizzelus" color="Color(0.85,0,0.85)">
<AssetUpdates id="irbizzelus/IMMDOMCOPS" provider="github" release="true" version="1.7"/>
<AssetUpdates id="irbizzelus/IMMDOMCOPS" provider="github" release="true" version="1.7.01"/>
</mod>
2 changes: 1 addition & 1 deletion menus/immdomcopsmenu.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
2 changes: 1 addition & 1 deletion mod.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]",
"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" },
Expand Down

0 comments on commit 714eb66

Please sign in to comment.