Save File implemented.
This commit is contained in:
@@ -46,6 +46,7 @@ All rights reserved.
|
||||
#include "EncountersSpawnListScrollableWindowComponent.h"
|
||||
#include "VisualNovel.h"
|
||||
#include "State_OverworldMap.h"
|
||||
#include "SaveFile.h"
|
||||
|
||||
INCLUDE_MONSTER_LIST
|
||||
INCLUDE_game
|
||||
@@ -169,6 +170,7 @@ ConnectionPoint&State_OverworldMap::GetCurrentConnectionPoint(){
|
||||
|
||||
void State_OverworldMap::StartLevel(){
|
||||
game->UpdateDiscordStatus(State_OverworldMap::GetCurrentConnectionPoint().name,game->GetPlayer()->GetClassName());
|
||||
SaveFile::SaveGame();
|
||||
if(State_OverworldMap::GetCurrentConnectionPoint().map.starts_with("STORY")){
|
||||
VisualNovel::LoadVisualNovel(State_OverworldMap::GetCurrentConnectionPoint().map);
|
||||
}else{
|
||||
|
||||
Reference in New Issue
Block a user