Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/engine/core/GameCore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,14 @@ export abstract class GameCore {
return this.currentTick / this.config.tickRate;
}

/**
* Check if the game is running in multiplayer mode.
* Used by systems like AIMicroSystem to disable certain behaviors.
*/
public isInMultiplayerMode(): boolean {
return this.config.isMultiplayer;
}

// ============================================================================
// COMMAND PROCESSING (shared implementation)
// ============================================================================
Expand Down