mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 15:11:36 -04:00
[Client] Don't send ObjectScale packets if not logged in
This commit is contained in:
parent
a8cf1e02c4
commit
d9bc1abf48
@ -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…
x
Reference in New Issue
Block a user