1
0
Fork 0
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:
Alexander Yakovlev 2016-03-14 21:39:27 +07:00
parent 62e83e694d
commit ef702f6aca
2 changed files with 2 additions and 2 deletions

View file

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

View file

@ -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.")