mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-10-05 04:56:30 +00:00
[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()->
|
MWBase::Environment::get().getWindowManager()->
|
||||||
messageBox("You can't change your own scale in multiplayer. Only the server can.");
|
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
|
// Ignore attempts to change another player's scale
|
||||||
if (mwmp::PlayerList::isDedicatedPlayer(ptr))
|
if (mwmp::PlayerList::isDedicatedPlayer(ptr))
|
||||||
|
|
Loading…
Reference in a new issue