update
This commit is contained in:
@@ -80,7 +80,7 @@ static func from_snapshot(d: Dictionary) -> Game:
|
||||
p.board.append(c)
|
||||
list.append(p)
|
||||
var hi := int(d.human)
|
||||
var g := Game.new(list[hi], list.slice(0, hi) + list.slice(hi + 1), RandomNumberGenerator.new())
|
||||
var g := Game.new(list[hi], list[1 - hi], RandomNumberGenerator.new())
|
||||
g.players = list
|
||||
g.turn = int(d.turn)
|
||||
g.current_idx = int(d.current_idx)
|
||||
|
||||
Reference in New Issue
Block a user