Make a function to access overlay cells Closes #35.

This commit is contained in:
Zed A. Shaw 2025-06-26 23:17:53 -04:00
parent f668ff6b7a
commit fcd1bc589c
8 changed files with 7 additions and 7 deletions

View file

@ -47,8 +47,6 @@ namespace gui {
$ritual_ui = textures::get("ritual_crafting_area");
$ritual_ui.sprite->setPosition($gui.get_position());
$ritual_ui.sprite->setTextureRect($ritual_closed_rect);
// BUG: why am I doing this twice?
state(State::CLOSED);
$ritual_anim = animation::load("ritual_blanket");
auto open_close_toggle = $gui.entity("ritual_ui");