Skip to content

Commit

Permalink
fix: readiness for joker
Browse files Browse the repository at this point in the history
  • Loading branch information
Shayan-Shabanzadeh committed Aug 31, 2022
1 parent b930702 commit 5bd6bb5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public synchronized void apply(DeclareReadinessCommand cmd, Channel<GameEvent> e
return;
}

if (this.is(AgentType.THIEF)) {
if (this.is(AgentType.THIEF) || this.is(AgentType.JOKER)) {
this.nodeId = cmd.getStartNodeId();
}

Expand Down

0 comments on commit 5bd6bb5

Please sign in to comment.