fix typo or it will never load from local cache

This commit is contained in:
Laura Klünder 2023-12-07 18:57:40 +01:00
parent dff4b7ea46
commit 0150851808
4 changed files with 4 additions and 4 deletions

View file

@ -308,7 +308,7 @@ class LevelRenderData:
# this is much faster than any other possible cache
cache_key = MapUpdate.current_processed_cache_key()
level_pk = str(level.pk if isinstance(level, Level) else level)
if getattr(cls.cached, 'cache_key', None) != cache_key:
if getattr(cls.cached, 'key', None) != cache_key:
cls.cached.key = cache_key
cls.cached.data = {}
else: