[Client] Disallow resting if player has not finished chargen

Previously, players pressing T rapidly before logging in had the Wait screen show up for them.
This commit is contained in:
David Cernat 2018-03-29 06:04:20 +03:00
parent 5f6ddcfc59
commit 1c340568d2

View file

@ -1066,6 +1066,17 @@ namespace MWInput
return;
}
/*
Start of tes3mp addition
Ignore attempts to rest if the player has not finished character generation yet
*/
if (!mwmp::Main::get().getLocalPlayer()->hasFinishedCharGen())
return;
/*
End of tes3mp addition
*/
/*
Start of tes3mp addition