mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2026-01-22 06:06:01 +00:00
Fixed another crash when entering a map with no map metadata, fixed Sky Drop failing causing the target to remain in the air, decapitalised some Debug menu text
This commit is contained in:
@@ -66,7 +66,7 @@ class Sprite_Reflection
|
||||
@sprite.z = -50 # Still water is -100, map is 0 and above
|
||||
@sprite.z += 1 if event == $game_player
|
||||
@sprite.zoom_x = @parent_sprite.zoom_x
|
||||
if Settings::ANIMATE_REFLECTIONS && !GameData::MapMetadata.get(event.map_id).still_reflections
|
||||
if Settings::ANIMATE_REFLECTIONS && !GameData::MapMetadata.try_get(event.map_id)&.still_reflections
|
||||
@sprite.zoom_x += 0.05 * @sprite.zoom_x * Math.sin(2 * Math::PI * System.uptime)
|
||||
end
|
||||
@sprite.zoom_y = @parent_sprite.zoom_y
|
||||
|
||||
Reference in New Issue
Block a user