readme update

This commit is contained in:
Robin Appelman 2025-06-02 20:42:02 +02:00
commit b758e2ea13
2 changed files with 24 additions and 1 deletions

View file

@ -119,7 +119,7 @@ impl Loader {
/// Add a new source to the loader.
///
/// This is intended to be used to add data from bsp files
/// This is mainly intended to be used to add data from bsp files, but can also be used to load from additional paths or vpks.
pub fn add_source<S: AssetSource + Send + Sync + 'static>(&mut self, source: S) {
self.sources.push(Arc::new(source))
}