mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 13:15:01 +00:00
Fixed up code added by previous commit, improved scene closings when using Fly
This commit is contained in:
@@ -563,7 +563,9 @@ def pbFadeOutIn(z=99999,nofadeout=false)
|
||||
end
|
||||
pbPushFade
|
||||
begin
|
||||
yield if block_given?
|
||||
val = 0
|
||||
val = yield if block_given?
|
||||
nofadeout = true if val == 99999 # Ugly hack used by Town Map in the Bag/Pokégear
|
||||
ensure
|
||||
pbPopFade
|
||||
if !nofadeout
|
||||
|
||||
Reference in New Issue
Block a user