Skip to content

Commit

Permalink
Add debug message for when Melee's player_one_port value changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
bkacjios committed Dec 3, 2020
1 parent cf618a6 commit 4513afb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ end
memory.hook("menu.player_one_port", "Controller port that is acting as player 1", function(port)
if memory.menu.major == MENU_VS_UNKNOWN and PANEL_SETTINGS:IsSlippiNetplay() and PANEL_SETTINGS:IsSlippiAutoPortEnabled() then
PORT = port
log.debug("[AUTOPORT] Player \"one\" port changed %d", PORT+1)
end
end)

Expand Down

0 comments on commit 4513afb

Please sign in to comment.