mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-19 13:29:54 +00:00
particles fix
This commit is contained in:
parent
b84ede2495
commit
ba0820ac7f
2 changed files with 2 additions and 2 deletions
|
|
@ -99,7 +99,7 @@ class FastTravel
|
|||
|
||||
#WME
|
||||
def update_location_name_text
|
||||
if ZONES[$game_fasttravel.zone].locations == nil || @legacy_ui
|
||||
if ZONES[$game_fasttravel.zone].locations == nil || ZONES[$game_fasttravel.zone].maps[@selected_location] == nil || @legacy_ui
|
||||
return
|
||||
end
|
||||
@location_name_text.bitmap.clear
|
||||
|
|
|
|||
|
|
@ -236,7 +236,7 @@ class Spriteset_Map
|
|||
raise 'invalid particle type'
|
||||
end
|
||||
@particles = ParticleLayer.new(@viewport_particles, klass, count)
|
||||
@viewport_particles.z = (layer == :front) ? 500 : -400
|
||||
@viewport_particles.z = (layer == :front) ? 499 : -400
|
||||
end
|
||||
end
|
||||
# Update bg plane
|
||||
|
|
|
|||
Loading…
Reference in a new issue