mirror of
https://gitlab.com/Oreolek/cloak-salet.git
synced 2024-06-26 03:50:51 +03:00
Update sidebar on entering the bar
This commit is contained in:
parent
620bceffe4
commit
7826c10ad6
|
@ -83,7 +83,7 @@ croom "entrance",
|
|||
dsc: () -> "entrance".l()
|
||||
|
||||
croom "bar",
|
||||
before: () ->
|
||||
onEnter: () ->
|
||||
if salet.character.has('cloak')
|
||||
this.dsc = "bar_dark".l()
|
||||
this.units = [
|
||||
|
@ -128,6 +128,7 @@ croom "bar",
|
|||
salet.here().units[0].act()
|
||||
salet.view.removeTransient()
|
||||
]
|
||||
salet.character.update_sidebar()
|
||||
return ""
|
||||
title: () -> "bar_title".l()
|
||||
ways: ["foyer"]
|
||||
|
|
Loading…
Reference in a new issue