Small tweaks before making damage to body parts work.
This commit is contained in:
parent
ae0d205037
commit
cbd4b858ac
2 changed files with 5 additions and 4 deletions
|
|
@ -202,7 +202,7 @@ void WorldBuilder::configure_starting_items(DinkyECS::World &world) {
|
|||
auto &inventory = world.get<inventory::Model>(player.entity);
|
||||
|
||||
auto healing = System::spawn_item(world, "REPAIR_KIT");
|
||||
inventory.add("pocket_l", healing);
|
||||
inventory.add("inv0", healing);
|
||||
world.make_constant(healing);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue