From af39ca5749ab510bb1be8e8226fa596319ffb7ff Mon Sep 17 00:00:00 2001 From: sam <30084950+lunaboards-dev@users.noreply.github.com> Date: Sat, 29 May 2021 20:22:29 -0400 Subject: [PATCH] sam moment --- src/lua/core/filesystem.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lua/core/filesystem.lua b/src/lua/core/filesystem.lua index 039a846..a0c34ed 100644 --- a/src/lua/core/filesystem.lua +++ b/src/lua/core/filesystem.lua @@ -156,7 +156,7 @@ function filesystem.register(basePath, identifier) checkArg(1, value, "number") return value --TODO: Implement, use real labels end - return modules.component.api.register(modules.uuidmgr.lookup("filesystem", basePath or identifier), "filesystem", fs) + return modules.component.api.register(modules.uuidmgr.lookup("filesystem", identifier or basePath), "filesystem", fs) end return filesystem