A few small changes so that the player's lightsource is just like any other entity lightsource components.
This commit is contained in:
parent
fc61ef42ac
commit
3a16595ca7
3 changed files with 3 additions and 3 deletions
|
@ -231,7 +231,6 @@ void WorldBuilder::place_entities(DinkyECS::World &world) {
|
|||
// configure player in the world
|
||||
Player player{player_ent};
|
||||
world.set_the<Player>(player);
|
||||
world.set<LightSource>(player.entity, {50,1.0});
|
||||
world.set<Inventory>(player.entity, {5});
|
||||
|
||||
randomize_entities(world, config);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue