misc: 추가
This commit is contained in:
@@ -16,6 +16,8 @@ import type { ReserveCommandResponse } from './defs';
|
||||
declare const staticValues: {
|
||||
serverNick: string,
|
||||
turnList: number[],
|
||||
mapName: string,
|
||||
unitSet: string,
|
||||
};
|
||||
|
||||
const { turnList } = staticValues;
|
||||
@@ -35,7 +37,7 @@ async function submitCommand<T extends ReserveCommandResponse>(isChiefTurn: bool
|
||||
arg,
|
||||
});
|
||||
|
||||
const storedActionsHelper = new StoredActionsHelper(staticValues.serverNick, isChiefTurn?'nation':'general');
|
||||
const storedActionsHelper = new StoredActionsHelper(staticValues.serverNick, isChiefTurn?'nation':'general', staticValues.mapName, staticValues.unitSet);
|
||||
|
||||
const response = await responseP;
|
||||
storedActionsHelper.pushRecentActions({
|
||||
|
||||
Reference in New Issue
Block a user