Skip to content

Commit

Permalink
P2情報を消しても残る場合があったのを修正
Browse files Browse the repository at this point in the history
P2情報を消しても残る場合があったのを修正
  • Loading branch information
NeatUnsou committed Nov 27, 2023
1 parent 65e3878 commit 968f98d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/char.go
Original file line number Diff line number Diff line change
Expand Up @@ -7710,7 +7710,7 @@ func (cl *CharList) p2enemyDelete(c *Char) {
for _, e := range cl.runOrder {
for i, p2cl := range e.p2enemy {
if p2cl == c {
e.p2enemy = e.p2enemy[:i+copy(e.p2enemy[i:], e.p2enemy[i+1:])]
e.p2enemy = e.p2enemy[:i]
break
}
}
Expand Down

0 comments on commit 968f98d

Please sign in to comment.