Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
N
Neos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
love_飞影
Neos
Commits
d9831588
Commit
d9831588
authored
Mar 19, 2024
by
Chunchi Che
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix/watch' into 'main'
修复观战模式下展示手牌出现的展示问题 See merge request
!348
parents
7e2a4c3a
e3f416ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
src/service/duel/confirmCards.ts
src/service/duel/confirmCards.ts
+5
-0
No files found.
src/service/duel/confirmCards.ts
View file @
d9831588
...
@@ -15,6 +15,11 @@ export default async (confirmCards: ygopro.StocGameMessage.MsgConfirmCards) => {
...
@@ -15,6 +15,11 @@ export default async (confirmCards: ygopro.StocGameMessage.MsgConfirmCards) => {
target
.
meta
=
meta
;
target
.
meta
=
meta
;
// 动画
// 动画
await
callCardFocus
(
target
.
uuid
);
await
callCardFocus
(
target
.
uuid
);
if
(
target
.
code
===
0
)
{
// 如果是对方或者是在观战模式下双方展示手牌,target的code会是0,
// 这里应该清掉meta,UI上表现是回复到卡背状态
target
.
meta
=
{
id
:
0
,
data
:
{},
text
:
{}
};
}
}
else
{
}
else
{
console
.
warn
(
`card of
${
card
}
is null`
);
console
.
warn
(
`card of
${
card
}
is null`
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment