fix: typo

This commit is contained in:
Aiosa 2024-12-19 16:20:50 +01:00
parent a5c569ab5d
commit 4c2b0715af

View File

@ -247,7 +247,7 @@
$.console.warn("Attempt to draw tile %s when not cached!", tile);
return undefined;
}
const dataCache = cache.getDataForRendering(this, tile);
const dataCache = cache.getCacheForRendering(this, tile);
// Use CPU Data for the drawer instead
return dataCache && dataCache.data.cpuData.getContext("2d");
};