also fixes feet layering of gold with grass. Unifies gen1/gen2 grass layering into a single system
This commit is contained in:
1jamie
2026-08-18 15:37:27 -05:00
parent def967a8f8
commit 286988a1e3
13 changed files with 1469 additions and 439 deletions
+6
View File
@@ -501,6 +501,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)