[Client] Remove unnecessary condition from WorldTime processor

This commit is contained in:
David Cernat 2018-05-25 07:08:51 +03:00
parent 49ea76aa9d
commit 2edb511a0b

View file

@ -17,8 +17,6 @@ namespace mwmp
} }
virtual void Do(WorldstatePacket &packet, BaseWorldstate &worldstate) virtual void Do(WorldstatePacket &packet, BaseWorldstate &worldstate)
{
if (isLocal())
{ {
MWBase::World *world = MWBase::Environment::get().getWorld(); MWBase::World *world = MWBase::Environment::get().getWorld();
@ -40,7 +38,6 @@ namespace mwmp
if (worldstate.timeScale != -1) if (worldstate.timeScale != -1)
world->setTimeScale(worldstate.timeScale); world->setTimeScale(worldstate.timeScale);
} }
}
}; };
} }