mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 22:23:51 +00:00
[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;
|
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
|
Start of tes3mp addition
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue