|
|
|
@ -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");
|
|
|
|
|