Factorize pos

This commit is contained in:
Gouvernathor 2023-11-17 03:08:51 +01:00
parent d7c8e39b08
commit e242c0e43a

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()