Fix chmod

This commit is contained in:
2025-10-19 02:53:21 -05:00
parent b889b09287
commit 1141871177

View File

@@ -3929,7 +3929,7 @@ namespace Tesses::CrossLang {
{ {
Tesses::Framework::Filesystem::VFSPath path; Tesses::Framework::Filesystem::VFSPath path;
int64_t mode; int64_t mode;
if(GetArgumentAsPath(args,0,path) && GetArgument(args,0,mode)) if(GetArgumentAsPath(args,0,path) && GetArgument(args,1,mode))
{ {
vfs->Chmod(path,(uint32_t)mode); vfs->Chmod(path,(uint32_t)mode);
} }