We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb1d0dc commit f991169Copy full SHA for f991169
components/Game.tsx
@@ -150,7 +150,9 @@ const Game = ({
150
t.asset.onchain_metadata?.name === tooligan.asset.onchain_metadata?.name
151
? {
152
...t,
153
- order: tooligan.order || Math.max(...tooligans.map((t) => t.order || 0)) + 1,
+ order: isAudience
154
+ ? undefined
155
+ : tooligan.order || Math.max(...tooligans.map((t) => t.order || 0)) + 1,
156
pos: {
157
x: isAudience ? tooligan.originalPos.x : x,
158
y: isAudience ? tooligan.originalPos.y : y,
0 commit comments