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
|
||||
Oneshot.exiting true
|
||||
Graphics.transition(20)
|
||||
|
||||
if Journal.active?
|
||||
Journal.set ''
|
||||
end
|
||||
|
||||
Oneshot.allow_exit true
|
||||
rescue Errno::ENOENT
|
||||
# Supplement Errno::ENOENT exception
|
||||
|
|
|
|||
Loading…
Reference in New Issue