Skip to main content

resolve_sprites_dir

Function resolve_sprites_dir 

Source
pub fn resolve_sprites_dir() -> Option<PathBuf>
Expand description

Prefer the repo checkout when it is at least as new as the synced cache.

Local play often has a stale ~/.flatland3/assets/rev-N from an older sync. needs_asset_sync already treats a matching repo as up to date, but loading still went through the stale cache — so new sheets (e.g. lodging) fell back to other.default after publish.