mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-28 07:32:00 -04: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
@ -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…
x
Reference in New Issue
Block a user