diff --git a/package.json b/package.json index 2ff401c..b142c8b 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "backend:dev": "bun --hot backend/src/index.ts", "register": "bun backend/src/register.ts", "login": "bun backend/src/login.ts", + "lint": "bun tsc --noEmit --skipLibCheck", "docker:build": "docker build -t git.pabloader.ru/pabloid/tsgames:latest backend/", "docker:push": "docker push git.pabloader.ru/pabloid/tsgames:latest", "docker:update": "docker service update --force --image git.pabloader.ru/pabloid/tsgames:latest tsgames_backend", diff --git a/src/games/playground/index.tsx b/src/games/playground/index.tsx index b5de39f..e392334 100644 --- a/src/games/playground/index.tsx +++ b/src/games/playground/index.tsx @@ -35,7 +35,7 @@ export default async function main() { vars.set({ key: 'test', value: 'test' }); await executeAction({ type: 'inventory.add', arg: { itemId: 'boots', amount: 2 } }, player); - await executeAction('quests.test.start', player); + await executeAction('player.quests.test.start', world); console.log(resolveActions(world)); console.log(resolveVariables(world));