compare: require matching args for multistep completion
This commit is contained in:
@@ -605,6 +605,7 @@ function comparisonRunTurnCommand(array $request): array
|
||||
|| (
|
||||
$preReqTurn > 0
|
||||
&& ($previousLastTurnRaw['command'] ?? null) === $command->getName()
|
||||
&& ($previousLastTurnRaw['arg'] ?? null) === $command->getArg()
|
||||
&& (int)($previousLastTurnRaw['term'] ?? 0) === $preReqTurn
|
||||
)
|
||||
));
|
||||
|
||||
Reference in New Issue
Block a user