[Client] Remove unnecessary condition from WorldTime processor

pull/441/head
David Cernat 7 years ago
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…
Cancel
Save