From b43fc50f01062151c43026b84a2cfea0ecc833c6 Mon Sep 17 00:00:00 2001 From: EpsilonZunsat <121496151+EpsilonZunsat@users.noreply.github.com> Date: Mon, 20 May 2024 11:17:21 +0800 Subject: [PATCH] fix: fix order fix order --- src/LegacyServerApi.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +}