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)