killing does not change assignment
This commit is contained in:
@@ -387,11 +387,6 @@ func (prev AllKillWords) ShuffleAssignees(killer, victim, word string) AllKillWo
|
|||||||
v := m[killer]
|
v := m[killer]
|
||||||
v.Assignee = victimState.Assignee
|
v.Assignee = victimState.Assignee
|
||||||
m[killer] = v
|
m[killer] = v
|
||||||
|
|
||||||
if assignmentKilled := killerState.Global.Word != word; assignmentKilled {
|
|
||||||
victimState.Assignment = Assignment{}
|
|
||||||
prev[victim] = victimState
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
for !func() bool {
|
for !func() bool {
|
||||||
|
|||||||
Reference in New Issue
Block a user