[Server] Fix function name for setting timeScale

This commit is contained in:
David Cernat 2018-05-28 05:13:26 +03:00
parent fc4d3fe3fa
commit 5c41350532

View file

@ -324,7 +324,7 @@ LuaState::LuaState()
}); });
}); });
lua->set_function("setDaysPassed", [](float timeScale) { lua->set_function("setTimeScale", [](float timeScale) {
auto packet = mwmp::Networking::get().getWorldstatePacketController()->GetPacket(ID_WORLD_TIME); auto packet = mwmp::Networking::get().getWorldstatePacketController()->GetPacket(ID_WORLD_TIME);