From 5c4135053277e53640db73be44bfabe00b3ec90f Mon Sep 17 00:00:00 2001 From: David Cernat Date: Mon, 28 May 2018 05:13:26 +0300 Subject: [PATCH] [Server] Fix function name for setting timeScale --- apps/openmw-mp/Script/LuaState.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);