Factorize pos
This commit is contained in:
parent
d7c8e39b08
commit
e242c0e43a
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user