mirror of
https://github.com/geode-sdk/geode.git
synced 2025-04-15 22:44:42 -04:00
disable this for now
This commit is contained in:
parent
5397e0fa66
commit
bf63e31ff4
1 changed files with 6 additions and 0 deletions
|
@ -191,11 +191,14 @@ ghc::filesystem::path dirs::getModRuntimeDir() {
|
|||
}
|
||||
|
||||
void geode::utils::game::exit() {
|
||||
// TODO: mat
|
||||
#if 0
|
||||
if (CCApplication::sharedApplication() &&
|
||||
(GameManager::get()->m_playLayer || GameManager::get()->m_levelEditorLayer)) {
|
||||
log::error("Cannot exit in PlayLayer or LevelEditorLayer!");
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (CCApplication::sharedApplication())
|
||||
// please forgive me..
|
||||
|
@ -207,11 +210,14 @@ void geode::utils::game::exit() {
|
|||
}
|
||||
|
||||
void geode::utils::game::restart() {
|
||||
// TODO: mat
|
||||
#if 0
|
||||
if (CCApplication::sharedApplication() &&
|
||||
(GameManager::get()->m_playLayer || GameManager::get()->m_levelEditorLayer)) {
|
||||
log::error("Cannot restart in PlayLayer or LevelEditorLayer!");
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
const auto workingDir = dirs::getGameDir();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue