forked from mirror/openmw-tes3mp
[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:
parent
5f6ddcfc59
commit
1c340568d2
1 changed files with 11 additions and 0 deletions
|
@ -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…
Reference in a new issue