From f5fee23147da0326583cfe36109f0a997cc7283d Mon Sep 17 00:00:00 2001 From: Dank074 Date: Sun, 9 May 2021 02:25:33 -0500 Subject: [PATCH] _Str_12937 -> addSprite --- src/room/renderer/RoomSpriteCanvas.ts | 2 +- src/room/renderer/cache/RoomObjectSortableSpriteCacheItem.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/room/renderer/RoomSpriteCanvas.ts b/src/room/renderer/RoomSpriteCanvas.ts index fafd9c78..4c09710f 100644 --- a/src/room/renderer/RoomSpriteCanvas.ts +++ b/src/room/renderer/RoomSpriteCanvas.ts @@ -501,7 +501,7 @@ export class RoomSpriteCanvas implements IRoomRenderingCanvas { sortableSprite = new SortableSprite(); - sortableCache._Str_12937(sortableSprite); + sortableCache.addSprite(sortableSprite); this._sortableSprites.push(sortableSprite); diff --git a/src/room/renderer/cache/RoomObjectSortableSpriteCacheItem.ts b/src/room/renderer/cache/RoomObjectSortableSpriteCacheItem.ts index c4b78d1b..8b5c0c2b 100644 --- a/src/room/renderer/cache/RoomObjectSortableSpriteCacheItem.ts +++ b/src/room/renderer/cache/RoomObjectSortableSpriteCacheItem.ts @@ -30,7 +30,7 @@ export class RoomObjectSortableSpriteCacheItem this._Str_20276(0); } - public _Str_12937(sprite: SortableSprite): void + public addSprite(sprite: SortableSprite): void { this._sprites.push(sprite); }