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

View file

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