mirror of
https://github.com/GoodStartLabs/AI_Diplomacy.git
synced 2026-04-29 17:35:18 +00:00
FIX: Instant mode wouldn't disable on toggle.
This commit is contained in:
parent
1a78cfdb5c
commit
9695a64d65
5 changed files with 35 additions and 134 deletions
|
|
@ -6,13 +6,6 @@
|
|||
import { config } from '../config';
|
||||
import { DebugMenu } from './debugMenu';
|
||||
|
||||
/**
|
||||
* Gets whether instant chat is currently enabled
|
||||
* @deprecated Use config.isInstantMode instead
|
||||
*/
|
||||
export function isInstantChatEnabled(): boolean {
|
||||
return config.isInstantMode;
|
||||
}
|
||||
|
||||
/**
|
||||
* Initializes the instant mode debug tool
|
||||
|
|
@ -45,4 +38,4 @@ export function initInstantChatTool(debugMenu: DebugMenu): void {
|
|||
config.setInstantMode(target.checked);
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue