1
1
Fork 0
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:
Alexander Yakovlev 2017-07-31 19:53:56 +07:00
parent 620bceffe4
commit 7826c10ad6

View file

@ -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"]