Make a function to access overlay cells Closes #35.
This commit is contained in:
parent
f668ff6b7a
commit
fcd1bc589c
8 changed files with 7 additions and 7 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue