diff --git a/apps/openmw-mp/Script/LuaState.cpp b/apps/openmw-mp/Script/LuaState.cpp index 7f95f1ecf..79999e415 100644 --- a/apps/openmw-mp/Script/LuaState.cpp +++ b/apps/openmw-mp/Script/LuaState.cpp @@ -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);