clear cache on set cache

This commit is contained in:
bgkillas 2025-07-02 08:53:38 -04:00
parent e84a90058d
commit f1e8a001d4

View file

@ -1341,6 +1341,8 @@ impl EntityData {
}
impl EntityManager {
pub fn set_cache(&mut self, cache: bool) {
self.cache.clear();
self.has_ran = false;
self.use_cache = cache;
}
pub fn init_frame_num(&mut self) -> eyre::Result<()> {