From 5f364605abe0c5dbc9f1e82691c3b15a542d5691 Mon Sep 17 00:00:00 2001 From: Sandu Liviu Catalin Date: Wed, 10 Nov 2021 16:50:38 +0200 Subject: [PATCH] Update Official.cpp --- module/Misc/Official.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/module/Misc/Official.cpp b/module/Misc/Official.cpp index f729b491..dc4536e2 100644 --- a/module/Misc/Official.cpp +++ b/module/Misc/Official.cpp @@ -1752,10 +1752,10 @@ void Register_Official_Functions(HSQUIRRELVM vm) .Func(_SC("SetMaxHeight"), LgSetMaxHeight) .Func(_SC("SetFallTimer"), LgSetFallTimer) - .Func(_SC("GetServerName"), LgGetServerName) + .SquirrelFunc(_SC("GetServerName"), LgGetServerName) .Func(_SC("GetMaxPlayers"), LgGetMaxPlayers) - .Func(_SC("GetPassword"), LgGetServerPassword) - .Func(_SC("GetGameModeName"), LgGetGameModeText) + .SquirrelFunc(_SC("GetPassword"), LgGetServerPassword) + .SquirrelFunc(_SC("GetGameModeName"), LgGetGameModeText) .Func(_SC("GetTimeRate"), LgGetTimeRate) .Func(_SC("GetHour"), LgGetHour) .Func(_SC("GetMinute"), LgGetMinute)