Factorize pos

(cherry picked from commit e242c0e43a)
This commit is contained in:
Gouvernathor 2023-11-17 03:08:51 +01:00 committed by LoafyLemon
parent f99c81b14a
commit f2d2c045af
1 changed files with 3 additions and 3 deletions

View File

@ -62,18 +62,18 @@ screen summon(xx, yy):
use close_button(key=["summon", "game_menu"])
fixed:
pos (xx, yy)
if settings.get("animations"):
at gui_animation
use summon_menu(xx, yy)
use summon_menu
screen summon_menu(xx, yy):
screen summon_menu():
tag summon_menu
modal True
zorder 15
window:
style "empty"
pos (xx, yy)
xysize (207, 454)
use invisible_button()