mirror of
https://github.com/IntQuant/noita_entangled_worlds.git
synced 2025-10-19 07:03:16 +00:00
clear cache on set cache
This commit is contained in:
parent
e84a90058d
commit
f1e8a001d4
1 changed files with 2 additions and 0 deletions
|
@ -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<()> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue