[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.
0.6.3
David Cernat 7 years ago
parent 5f6ddcfc59
commit 1c340568d2

@ -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

Loading…
Cancel
Save