Skip to content

Commit 19827d0

Browse files
authored
Update arena.js
1 parent 17664ae commit 19827d0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arena.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ function tick(){
550550
let participant = solidWorm.getParticipant();
551551
participant.payload.response = null;
552552
participant.postMessage(arenaClone).then(response => {
553-
participant.payload.response = response.data;
553+
participant.payload.response = response.message.data;
554554
updateDirection(participant);
555555
}).finally(()=>participant.payload.wormUpdated());
556556
_participantPromises.push(new Promise(resolve => participant.payload.wormUpdated = resolve));

0 commit comments

Comments
 (0)