Merge pull request #1540 from 1Jamie/fix/grass-standing-overdraw

fixes #1537 #1528  also fixes feet layering of gold with grass. Unifies gen1/gen2 grass layering into a single system
This commit is contained in:
bryanthaboi
2026-08-18 16:55:39 -04:00
committed by GitHub
12 changed files with 1438 additions and 343 deletions
+6
View File
@@ -506,6 +506,12 @@ function Music.setFilterLevel(level)
applyFilter(state.loopSource)
end
function Music.setPitch(pitch)
pitch = pitch or 1.0
if state.source then pcall(state.source.setPitch, state.source, pitch) end
if state.loopSource then pcall(state.loopSource.setPitch, state.loopSource, pitch) end
end
-- re-apply persisted audio options (Game calls this on boot and after
-- loading a save)
function Music.applyOptions(opts)