# HG changeset patch # User Thibaut Girka # Date 1325094457 -3600 # Node ID 44c5e7d4b615234019be15dc140ffd33ab6fcb93 # Parent 9d4d52793eca8c8b6db63fe85aec70c9eeece5da Fix consistency diff --git a/eosd b/eosd --- a/eosd +++ b/eosd @@ -44,13 +44,17 @@ def main(path, stage_num, rank, characte if port != 0: from pytouhou.network import Network + from pytouhou.utils.random import Random + if remote: remote_addr, remote_port = remote.split(':') addr = remote_addr, int(remote_port) + players = [PlayerState(character=0), PlayerState(character=2)] else: addr = None + players = [PlayerState(character=2), PlayerState(character=0)] - players.append(PlayerState(character=character)) + prng = Random(0) con = Network(port, addr) else: con = None