mirror of
https://gitlab.com/Oreolek/black_phone.git
synced 2024-06-26 03:50:56 +03:00
Issue #8: finale fix
This commit is contained in:
parent
62e83e694d
commit
ef702f6aca
|
@ -34,7 +34,7 @@ room "living-room", salet,
|
|||
if salet.character.box_opened == 0
|
||||
return "Ronald has a job here. It's still on."
|
||||
else
|
||||
salet.goTo("exitdoor")
|
||||
return salet.goTo("exitdoor")
|
||||
obj "zane",
|
||||
visible: false,
|
||||
act: """
|
||||
|
|
|
@ -169,7 +169,7 @@ class SaletRoom
|
|||
@entering.fcall(this, system, @name)
|
||||
return system.view.write(thing.take.fcall(thing, system).toString())
|
||||
if thing.act?
|
||||
return system.view.write thing.act.fcall(thing, system).toString()
|
||||
return system.view.write thing.act.fcall(thing, system)
|
||||
|
||||
# the loop is done but no return came - match not found
|
||||
console.error("Could not find #{link[2]} in current room.")
|
||||
|
|
Loading…
Reference in a new issue