mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-20 13:59:57 +00:00
If journal is open, quit journal when quitting game
This commit is contained in:
parent
d9357ef4f3
commit
beb0d3fb3c
1 changed files with 5 additions and 0 deletions
|
|
@ -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 a new issue