If journal is open, quit journal when quitting game

This commit is contained in:
Vinyl Darkscratch 2018-05-04 01:20:41 -07:00
parent d9357ef4f3
commit beb0d3fb3c

View file

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