From 4e683fabbeaf0b68406306cbf58d1fe1611f487f Mon Sep 17 00:00:00 2001 From: vmwxiong <71673910+vmwxiong@users.noreply.github.com> Date: Tue, 8 Dec 2020 23:43:52 -0800 Subject: [PATCH] lol cost matrix recall wasn't using the right key --- src/caching/GlobalCache.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/caching/GlobalCache.ts b/src/caching/GlobalCache.ts index 11b0a62c1..a8914f395 100644 --- a/src/caching/GlobalCache.ts +++ b/src/caching/GlobalCache.ts @@ -74,7 +74,7 @@ export class $ { // $ = cash = cache... get it? :D } static costMatrixRecall(roomName: string, key: string): CostMatrix | undefined { - const cacheKey = roomName + ':' + key; + const cacheKey = roomName + 'm' + key; return _cache.costMatrices[cacheKey]; }