mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-19 13:29:54 +00:00
Fixed menu bug on balcony
This commit is contained in:
parent
3a2f722786
commit
f28e7f8b7c
2 changed files with 5 additions and 1 deletions
|
|
@ -409,4 +409,7 @@ class Scene_Map
|
|||
def new_footprint(direction, x, y)
|
||||
@spriteset.new_footprint(direction, x, y)
|
||||
end
|
||||
def menu_open?
|
||||
@menu.visible || @item_menu.visible
|
||||
end
|
||||
end
|
||||
|
|
|
|||
|
|
@ -177,6 +177,7 @@ def plight_update_timer
|
|||
end
|
||||
|
||||
def activate_balcony?(ypos)
|
||||
!$scene.menu_open? &&
|
||||
$game_player.y == ypos &&
|
||||
$game_player.direction == 8 &&
|
||||
Input.trigger?(Input::ACTION)
|
||||
|
|
|
|||
Loading…
Reference in a new issue