File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -99,8 +99,8 @@ def hide_agents_and_rng(self):
99
99
away_agent = self .away_agent
100
100
rng = self .rng
101
101
replay = self .replay
102
- self .away_agent = Agent ("away human" , human = True )
103
- self .home_agent = Agent ("home human" , human = True )
102
+ self .away_agent = Agent (home_agent . name , human = True )
103
+ self .home_agent = Agent (home_agent . name , human = True )
104
104
self .rng = np .random .RandomState ()
105
105
self .replay = None
106
106
@@ -2651,4 +2651,4 @@ def get_stand_up_modifier(self, player: Player) -> int:
2651
2651
(0 , - 1 ),
2652
2652
(- 1 , 1 ),
2653
2653
(- 1 , 0 ),
2654
- (- 1 , - 1 )]
2654
+ (- 1 , - 1 )]
Original file line number Diff line number Diff line change @@ -310,7 +310,7 @@ class Agent:
310
310
human : bool
311
311
agent_id : str
312
312
313
- def __init__ (self , name , human = False , agent_id = None ):
313
+ def __init__ (self , name : str , human : bool = False , agent_id = None ):
314
314
if agent_id is not None :
315
315
self .agent_id = agent_id
316
316
else :
You can’t perform that action at this time.
0 commit comments