A few small changes so that the player's lightsource is just like any other entity lightsource components.

This commit is contained in:
Zed A. Shaw 2025-01-18 14:44:46 -05:00
parent fc61ef42ac
commit 3a16595ca7
3 changed files with 3 additions and 3 deletions

View file

@ -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);