fixed fs shit

This commit is contained in:
2025-06-29 16:13:18 +02:00
parent c08e23dc74
commit a0023469df
2 changed files with 19 additions and 3 deletions

View File

@@ -162,7 +162,7 @@ void nn_fs_lastModified(nn_filesystem *fs, void *_, nn_component *component, nn_
return;
}
nn_return(computer, nn_values_integer(fs->remove(component, fs->userdata, path)));
nn_return(computer, nn_values_integer(fs->lastModified(component, fs->userdata, path)));
nn_fs_readCost(fs, 1, component, computer);
}