forked from noxious/server
Removed redundant line of code
This commit is contained in:
parent
ce90d6f7a9
commit
3dffad928d
@ -77,12 +77,6 @@ export default class SpriteUpdateEvent {
|
|||||||
|
|
||||||
const parsedActions = this.validateSpriteActions(payload.spriteActions)
|
const parsedActions = this.validateSpriteActions(payload.spriteActions)
|
||||||
|
|
||||||
// Get existing sprite actions from database
|
|
||||||
const existingSprite = await prisma.sprite.findUnique({
|
|
||||||
where: { id: payload.id },
|
|
||||||
include: { spriteActions: true }
|
|
||||||
})
|
|
||||||
|
|
||||||
// Process sprites
|
// Process sprites
|
||||||
const processedActions = await Promise.all(parsedActions.map(async (action) => {
|
const processedActions = await Promise.all(parsedActions.map(async (action) => {
|
||||||
const spriteBuffers = await this.convertBase64ToBuffers(action.sprites)
|
const spriteBuffers = await this.convertBase64ToBuffers(action.sprites)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user