forked from mirror/openmw-tes3mp
[Client] Allow singleplayer-only saves in main menu during multiplayer
This commit is contained in:
parent
6ff7fa525e
commit
4d4bced929
1 changed files with 7 additions and 3 deletions
|
@ -236,18 +236,22 @@ namespace MWGui
|
|||
/*
|
||||
Start of tes3mp change (major)
|
||||
|
||||
In multiplayer, the main menu should not have options for starting, loading or saving the game,
|
||||
In multiplayer, the main menu should not have options for starting or loading the game,
|
||||
so they have been removed
|
||||
|
||||
Saving the game should still be possible, as long as it's clear that the resulting
|
||||
save is singleplayer-only; this will prevent players from completely losing their
|
||||
characters and houses on servers if those servers ever go down
|
||||
*/
|
||||
|
||||
/*
|
||||
buttons.push_back("newgame");
|
||||
//buttons.push_back("newgame");
|
||||
|
||||
if (state==MWBase::StateManager::State_Running &&
|
||||
MWBase::Environment::get().getWorld()->getGlobalInt ("chargenstate")==-1 &&
|
||||
MWBase::Environment::get().getWindowManager()->isSavingAllowed())
|
||||
buttons.push_back("savegame");
|
||||
|
||||
/*
|
||||
if (MWBase::Environment::get().getStateManager()->characterBegin()!=
|
||||
MWBase::Environment::get().getStateManager()->characterEnd())
|
||||
buttons.push_back("loadgame");
|
||||
|
|
Loading…
Reference in a new issue