diff options
Diffstat (limited to 'src/lua/modules/filesystem/filesystem.cpp')
-rw-r--r-- | src/lua/modules/filesystem/filesystem.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lua/modules/filesystem/filesystem.cpp b/src/lua/modules/filesystem/filesystem.cpp index e388ae1..3cb413f 100644 --- a/src/lua/modules/filesystem/filesystem.cpp +++ b/src/lua/modules/filesystem/filesystem.cpp @@ -2,7 +2,7 @@ #include "libjin/jin.h" #include <string> -using namespace jin::filesystem; +using namespace JinEngine::Filesystem; namespace jin { @@ -11,12 +11,12 @@ namespace lua static struct { - Filesystem* fs; + AssetDatabase* fs; } context; static int l_init(lua_State* L) { - context.fs = Filesystem::get(); + context.fs = AssetDatabase::get(); return 0; } @@ -109,7 +109,7 @@ namespace lua static int l_read(lua_State* L) { - Filesystem* fs = context.fs; + AssetDatabase* fs = context.fs; const char* file = luax_checkstring(L, 1); unsigned int len; Buffer buffer; |