Checkpoint Eibenreith ink architecture
This commit is contained in:
@@ -798,7 +798,9 @@ class SocketClientModule extends BaseModule {
|
||||
|
||||
try {
|
||||
this.clearPendingCommand('new-command');
|
||||
this.socket.emit('playerCommand', { command });
|
||||
const requestId = ++this.gameApiRequestId;
|
||||
this.latestNarrativeRequestId = requestId;
|
||||
this.socket.emit('playerCommand', { command, requestId });
|
||||
this.pendingCommand = command;
|
||||
this.pendingCommandTimer = setTimeout(() => {
|
||||
const timedOutCommand = this.pendingCommand;
|
||||
|
||||
Reference in New Issue
Block a user