Now standardized on GameConfig everywhere I can. Closes #28.
This commit is contained in:
parent
b0204772c7
commit
769530b45c
3 changed files with 3 additions and 4 deletions
|
@ -168,7 +168,7 @@ void WorldBuilder::place_stairs(DinkyECS::World& world, GameConfig& config) {
|
|||
|
||||
void WorldBuilder::configure_starting_items(DinkyECS::World &world) {
|
||||
auto& blanket = world.get_the<ritual::Blanket>();
|
||||
Config config("assets/rituals.json");
|
||||
auto& config = world.get_the<components::GameConfig>().rituals;
|
||||
|
||||
for(auto& el : config["starting_junk"]) {
|
||||
ritual::JunkItem name = el;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue