Fix data folder
This commit is contained in:
@@ -8,6 +8,18 @@
|
||||
"color": "#FFFFFF",
|
||||
"pallet": []
|
||||
},
|
||||
{
|
||||
"mnemonic-id" : "stone",
|
||||
"display-name" : "",
|
||||
"solid": true,
|
||||
"does-random-ticc": false,
|
||||
"does-forced-ticc": false,
|
||||
"color": "#FFFFFF",
|
||||
"pallet": [],
|
||||
"random-ticc-func": "zzyyzz",
|
||||
"forced-ticc-func": "zzyyzz",
|
||||
"drops" : null
|
||||
},
|
||||
{
|
||||
"mnemonic-id" : "stone",
|
||||
"display-name" : "",
|
@@ -44,7 +44,7 @@ std::string read_file(const std::string& file_path)
|
||||
int main(int argc, char** argv) {
|
||||
|
||||
|
||||
std::string content = read_file("data/tiles/base_tiles.json");
|
||||
std::string content = read_file("assets/data/tiles/base_tiles.json");
|
||||
|
||||
auto [text, parse_error] = json::parse(content);
|
||||
|
||||
|
Reference in New Issue
Block a user