mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-10-01 00:50:15 -04:00
[Client] Remove unnecessary condition from WorldTime processor
This commit is contained in:
parent
49ea76aa9d
commit
2edb511a0b
@ -17,8 +17,6 @@ namespace mwmp
|
||||
}
|
||||
|
||||
virtual void Do(WorldstatePacket &packet, BaseWorldstate &worldstate)
|
||||
{
|
||||
if (isLocal())
|
||||
{
|
||||
MWBase::World *world = MWBase::Environment::get().getWorld();
|
||||
|
||||
@ -40,7 +38,6 @@ namespace mwmp
|
||||
if (worldstate.timeScale != -1)
|
||||
world->setTimeScale(worldstate.timeScale);
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user