@@ -13,7 +13,7 @@ using namespace GarrysMod;
1313
1414IFileSystem *g_FileSystem;
1515
16- int yourmother_Mount (lua_State *state) {
16+ int mount_Mount (lua_State *state) {
1717 LUA ->CheckType (1 , Lua::Type::STRING ); // path
1818 LUA ->CheckType (2 , Lua::Type::STRING ); // pathId
1919
@@ -34,7 +34,7 @@ int yourmother_Mount(lua_State *state) {
3434 return 0 ;
3535}
3636
37- int yourmother_Unmount (lua_State *state) {
37+ int mount_Unmount (lua_State *state) {
3838 LUA ->CheckType (1 , Lua::Type::STRING ); // path
3939 LUA ->CheckType (2 , Lua::Type::STRING ); // pathId
4040
@@ -43,7 +43,7 @@ int yourmother_Unmount(lua_State *state) {
4343 return 0 ;
4444}
4545
46- int yourmother_PrintSearchPaths (lua_State *state) {
46+ int mount_PrintSearchPaths (lua_State *state) {
4747 g_FileSystem->PrintSearchPaths ();
4848
4949 return 0 ;
@@ -54,22 +54,22 @@ GMOD_MODULE_OPEN() {
5454 g_FileSystem = (IFileSystem*)FileSystem_StdioFactory (" VFileSystem022" , NULL );
5555
5656 if (g_FileSystem == NULL ) {
57- LUA ->ThrowError (" gm_yourmother : Error getting IFileSystem interface." );
57+ LUA ->ThrowError (" gm_mount : Error getting IFileSystem interface." );
5858
5959 return 0 ;
6060 }
6161
6262 LUA ->PushSpecial (Lua::SPECIAL_GLOB );
6363 LUA ->CreateTable ();
64- LUA ->PushCFunction (yourmother_Mount );
64+ LUA ->PushCFunction (mount_Mount );
6565 LUA ->SetField (-2 , " Mount" );
6666
67- LUA ->PushCFunction (yourmother_Unmount );
67+ LUA ->PushCFunction (mount_Unmount );
6868 LUA ->SetField (-2 , " Unmount" );
6969
70- LUA ->PushCFunction (yourmother_PrintSearchPaths );
70+ LUA ->PushCFunction (mount_PrintSearchPaths );
7171 LUA ->SetField (-2 , " PrintSearchPaths" );
72- LUA ->SetField (-2 , " yourmother " );
72+ LUA ->SetField (-2 , " mount " );
7373
7474 LUA ->PushNumber (PATH_ADD_TO_HEAD );
7575 LUA ->SetField (-2 , " PATH_ADD_TO_HEAD" );
0 commit comments