diff --git a/src/LegacyServerApi.cpp b/src/LegacyServerApi.cpp index 0b0138e..e6b410e 100644 --- a/src/LegacyServerApi.cpp +++ b/src/LegacyServerApi.cpp @@ -60,7 +60,7 @@ void Export_Legacy_GMLib_ServerAPI() { RemoteCall::exportAs( "GMLib_ServerAPI", "addFakeList", - [](const std::string& xuid, const std::string& name) -> bool { + [](const std::string& name, const std::string& xuid) -> bool { return GMLIB::Server::FakeList::addFakeList(name, xuid, ActorUniqueID(-1)); } ); @@ -70,4 +70,4 @@ void Export_Legacy_GMLib_ServerAPI() { RemoteCall::exportAs("GMLib_ServerAPI", "removeAllFakeList", []() -> void { return GMLIB::Server::FakeList::removeAllFakeLists(); }); -} \ No newline at end of file +}