Working on supporting multiple users during edition. For now prepare a way to write a .ini file with user and its id.
This commit is contained in:
1 parent
c70cce463b
commit
0f262fb06e
12 files changed
+133
-30
No files matched your search
+1
-1
@@ -233,7 +233,7 @@ void RenderWorldEditorUI(World& world)
|
||||
if (ImGui::Begin("World Editor"))
|
||||
{
|
||||
TempArena temp = scratch_begin(nullptr, 0);
|
||||
static char worldFilePath[256] = "../world.bin";
|
||||
static char worldFilePath[256] = "/world.bin";
|
||||
ImGui::InputText("World File", worldFilePath, sizeof(worldFilePath));
|
||||
|
||||
String path = GetAssetPath(temp.Arena, AssetType::JAsset, ConstString(worldFilePath));
|
||||
|
||||
Reference in new issue
Block a user