File tree 1 file changed +5
-7
lines changed
1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -540,13 +540,11 @@ end
540
540
function melee .getPlayer (port )
541
541
if not memory .player then return end
542
542
543
- if not melee .isInGame () then
544
- if melee .isSinglePlayerGame () and port == memory .menu .player_one_port + 1 then
545
- -- Single player games in CSS screen always use PORT 1 character info no matter what port is controlling the menus
546
- return memory .player [1 ].select
547
- else
548
- return memory .player [port ].select
549
- end
543
+ if melee .isSinglePlayerGame () and port == memory .menu .player_one_port + 1 then
544
+ -- Single player games in CSS screen always use PORT 1 character info no matter what port is controlling the menus
545
+ return memory .player [1 ].select
546
+ else if not melee .isInGame () then
547
+ return memory .player [port ].select
550
548
end
551
549
552
550
return memory .player [port ]
You can’t perform that action at this time.
0 commit comments