Skip to content

Commit

Permalink
fix: Fix crash when new chunks are generated with new coral graphics.
Browse files Browse the repository at this point in the history
  • Loading branch information
notnotmelon committed Dec 15, 2024
1 parent c2cd30b commit 3861bde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/map-gen/surfaces/maraxsis.lua
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ local function coral_created(event)
end

if coral_animation[1].graphics_variation == coral_animation[2].graphics_variation then
coral_animation[2].graphics_variation = (coral_animation[1].graphics_variation % 8) + 1
coral_animation[2].graphics_variation = (coral_animation[1].graphics_variation % 7) + 1
end

-- create polycephalum-slime decorative
Expand Down

0 comments on commit 3861bde

Please sign in to comment.