mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-07-08 02:21:38 +00:00
[Client] Remove unnecessary condition from WorldTime processor
This commit is contained in:
parent
49ea76aa9d
commit
2edb511a0b
1 changed files with 15 additions and 18 deletions
|
@ -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…
Reference in a new issue