forked from mirror/openmw-tes3mp
[Client] Don't send ObjectScale packets if not logged in
This commit is contained in:
parent
a8cf1e02c4
commit
d9bc1abf48
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ namespace MWScript
|
|||
MWBase::Environment::get().getWindowManager()->
|
||||
messageBox("You can't change your own scale in multiplayer. Only the server can.");
|
||||
}
|
||||
else if (ptr.isInCell() && ptr.getCellRef().getScale() != scale)
|
||||
else if (mwmp::Main::get().getLocalPlayer()->isLoggedIn() && ptr.isInCell() && ptr.getCellRef().getScale() != scale)
|
||||
{
|
||||
// Ignore attempts to change another player's scale
|
||||
if (mwmp::PlayerList::isDedicatedPlayer(ptr))
|
||||
|
|
Loading…
Reference in a new issue