new game bug fix

This commit is contained in:
2026-03-04 13:06:35 -05:00
parent 554d6198fd
commit b81296a4f2
3 changed files with 3 additions and 42 deletions

View File

@@ -110,6 +110,8 @@ namespace game::state
character.queue_play({.animation = dialogue.start.animation, .isInterruptible = false});
character.tick();
isStart = true;
isStartBegin = false;
isStartEnd = false;
}
}

View File

@@ -177,7 +177,7 @@ namespace game::state::main
// Food stolen
if (auto animation = character.animation_get(character.animation_name_convert(eatArea.animation));
character.is_playing(animation->name) && !isOverCapacity)
character.is_playing(animation->name))
{
if (!math::is_point_in_rectf(rect, heldItem->position))
text.set(dialogue.get(isOverCapacity ? dialogue.foodTakenFull : dialogue.foodTaken), character);