TypeDocs issues
This commit is contained in:
parent
090b3abc48
commit
dc56849f60
|
@ -6,5 +6,6 @@ export enum GameDataType {
|
|||
SESSION,
|
||||
SETTINGS,
|
||||
TUTORIALS,
|
||||
SEEN_DIALOGUES
|
||||
SEEN_DIALOGUES,
|
||||
RUN_HISTORY
|
||||
}
|
||||
|
|
|
@ -39,7 +39,7 @@ import { titles, trainerClasses, trainerNames } from "./trainers";
|
|||
import { tutorial } from "./tutorial";
|
||||
import { voucher } from "./voucher";
|
||||
import { weather } from "./weather";
|
||||
import { runHistory } from "./run-history-ui-handler.ts";
|
||||
import { runHistory } from "./run-history-ui-handler";
|
||||
|
||||
export const enConfig = {
|
||||
ability: ability,
|
||||
|
|
|
@ -297,6 +297,8 @@ export class GameData {
|
|||
|
||||
public gameStats: GameStats;
|
||||
|
||||
public runHistory: RunHistoryData;
|
||||
|
||||
public unlocks: Unlocks;
|
||||
|
||||
public achvUnlocks: AchvUnlocks;
|
||||
|
@ -607,7 +609,7 @@ export class GameData {
|
|||
//Arbitrary limit of 25 entries per User --> Can increase or decrease
|
||||
if (timestamps.length >= 25) {
|
||||
const oldestTimestamp = Math.min.apply(Math, timestampsNo);
|
||||
delete this.scene.gameData.runHistory[oldestTimestamp.toString()];
|
||||
delete runHistoryData[oldestTimestamp.toString()];
|
||||
}
|
||||
|
||||
const timestamp = (runEntry.timestamp).toString();
|
||||
|
|
Loading…
Reference in New Issue