If journal is open, quit journal when quitting game
This commit is contained in:
parent
d9357ef4f3
commit
beb0d3fb3c
|
|
@ -36,6 +36,11 @@ begin
|
||||||
# Fade out
|
# Fade out
|
||||||
Oneshot.exiting true
|
Oneshot.exiting true
|
||||||
Graphics.transition(20)
|
Graphics.transition(20)
|
||||||
|
|
||||||
|
if Journal.active?
|
||||||
|
Journal.set ''
|
||||||
|
end
|
||||||
|
|
||||||
Oneshot.allow_exit true
|
Oneshot.allow_exit true
|
||||||
rescue Errno::ENOENT
|
rescue Errno::ENOENT
|
||||||
# Supplement Errno::ENOENT exception
|
# Supplement Errno::ENOENT exception
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue