particles fix

This commit is contained in:
Issac332 2026-05-27 16:30:31 +03:00
parent b84ede2495
commit ba0820ac7f
2 changed files with 2 additions and 2 deletions

View File

@ -99,7 +99,7 @@ class FastTravel
#WME #WME
def update_location_name_text 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 return
end end
@location_name_text.bitmap.clear @location_name_text.bitmap.clear

View File

@ -236,7 +236,7 @@ class Spriteset_Map
raise 'invalid particle type' raise 'invalid particle type'
end end
@particles = ParticleLayer.new(@viewport_particles, klass, count) @particles = ParticleLayer.new(@viewport_particles, klass, count)
@viewport_particles.z = (layer == :front) ? 500 : -400 @viewport_particles.z = (layer == :front) ? 499 : -400
end end
end end
# Update bg plane # Update bg plane