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)
|
def new_footprint(direction, x, y)
|
||||||
@spriteset.new_footprint(direction, x, y)
|
@spriteset.new_footprint(direction, x, y)
|
||||||
end
|
end
|
||||||
|
def menu_open?
|
||||||
|
@menu.visible || @item_menu.visible
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -177,7 +177,8 @@ def plight_update_timer
|
||||||
end
|
end
|
||||||
|
|
||||||
def activate_balcony?(ypos)
|
def activate_balcony?(ypos)
|
||||||
$game_player.y == ypos &&
|
!$scene.menu_open? &&
|
||||||
|
$game_player.y == ypos &&
|
||||||
$game_player.direction == 8 &&
|
$game_player.direction == 8 &&
|
||||||
Input.trigger?(Input::ACTION)
|
Input.trigger?(Input::ACTION)
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue