1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-02-11 13:39:14 +02:00

fix render layers

This commit is contained in:
danielmartin0 2024-10-15 23:06:59 +01:00
parent 3b54e2c829
commit c2c411a9d5
2 changed files with 4 additions and 4 deletions

View File

@ -579,7 +579,7 @@ function Public.place_boat(boat, floor_tile, place_entities_bool, correct_tiles,
-- local p = Utils.psum{boat.position, scope.Data.comfy_rendering_position}
-- boat.rendering_comfy = rendering.draw_sprite{
-- sprite = "file/comfy2.png",
-- render_layer = '125',
-- render_layer = 'corpse',
-- surface = surface,
-- target = p,
-- }
@ -1435,7 +1435,7 @@ local function teleport_handle_renderings(boat, oldsurface_name, newsurface_name
-- rendering.destroy(boat.rendering_comfy)
-- boat.rendering_comfy = rendering.draw_sprite{
-- sprite = "file/comfy2.png",
-- render_layer = '125',
-- render_layer = 'corpse',
-- surface = newsurface,
-- target = p,
-- }

View File

@ -83,7 +83,7 @@ function Public.spawn_treasure_maps(destination, points_to_avoid)
surface = surface,
target = p,
sprite = 'utility/gps_map_icon',
render_layer = '125',
render_layer = 'corpse',
x_scale = 2.4,
y_scale = 2.4,
})
@ -133,7 +133,7 @@ function Public.spawn_ghosts(destination, points_to_avoid)
surface = surface,
target = p,
sprite = 'utility/create_ghost_on_entity_death_modifier_icon',
render_layer = '125',
render_layer = 'corpse',
x_scale = 1,
y_scale = 1,
})