mirror of
https://gitlab.com/Oreolek/salet-module.git
synced 2024-05-24 11:58:21 +03:00
Fix for the effects in start room
This commit is contained in:
parent
a48e99b4b2
commit
8c9eeef6bd
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "salet",
|
||||
"version": "1.6.1",
|
||||
"version": "1.6.2",
|
||||
"description": "A general client-side framework for cybertext interactive fiction games.",
|
||||
"keywords": ["ifiction", "interactive fiction", "games", "coffee-script", "text", "menu"],
|
||||
"homepage": "http://salet.oreolek.ru",
|
||||
|
|
|
@ -97,7 +97,7 @@ class SaletRoom
|
|||
if @afterChoices?
|
||||
@afterChoices.fcall(this, f)
|
||||
|
||||
if not @clear
|
||||
if salet.rooms[f]? and not @clear
|
||||
salet.view.removeTransient(f)
|
||||
|
||||
if salet.autosave and @canSave
|
||||
|
|
Loading…
Reference in a new issue