mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-01 11:33:34 +00:00
Updated MarkDisconnectedExecution to remove unnecessary steps
This commit is contained in:
@@ -122,7 +122,7 @@ export class Executor {
|
||||
intent.variables ?? {},
|
||||
);
|
||||
case "mark_disconnected":
|
||||
return new MarkDisconnectedExecution(playerID, intent.isDisconnected);
|
||||
return new MarkDisconnectedExecution(player, intent.isDisconnected);
|
||||
default:
|
||||
throw new Error(`intent type ${intent} not found`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user