mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-16 00:17:14 +00:00
Disable user template editing if directory not writable
This commit is contained in:
@@ -13,6 +13,8 @@
|
||||
|
||||
using namespace tinyxml2;
|
||||
TString gDataDir;
|
||||
bool gResourcesWritable = false;
|
||||
bool gTemplatesWritable = false;
|
||||
CResourceStore *gpResourceStore = nullptr;
|
||||
CResourceStore *gpEditorStore = nullptr;
|
||||
|
||||
|
||||
@@ -94,6 +94,8 @@ public:
|
||||
};
|
||||
|
||||
extern TString gDataDir;
|
||||
extern bool gResourcesWritable;
|
||||
extern bool gTemplatesWritable;
|
||||
extern CResourceStore *gpResourceStore;
|
||||
extern CResourceStore *gpEditorStore;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user