1
0
Fork 1
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:
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)
{
if (isLocal())
{
MWBase::World *world = MWBase::Environment::get().getWorld();
@ -40,7 +38,6 @@ namespace mwmp
if (worldstate.timeScale != -1)
world->setTimeScale(worldstate.timeScale);
}
}
};
}