Easy fix, just set aiming_at in the camera position. Closes #57.

This commit is contained in:
Zed A. Shaw 2025-07-05 12:04:07 -04:00
parent a26f0b0c0a
commit 1baf90a776
2 changed files with 4 additions and 0 deletions

View file

@ -88,6 +88,7 @@ DinkyECS::Entity WorldBuilder::configure_entity_in_map(DinkyECS::World &world, j
dbc::check(found, "Failed to find a place for this thing.");
auto item = world.entity();
// NOTE: aiming_at is set by the rayview since it knows that
world.set<Position>(item, {pos.x, pos.y});
if(entity_data["inventory_count"] > 0) {