Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
S
srvpro
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
nanahira
srvpro
Commits
5f70c694
Commit
5f70c694
authored
Nov 10, 2018
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix draw match handle
parent
ef0668ae
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
ygopro-server.coffee
ygopro-server.coffee
+1
-1
ygopro-server.js
ygopro-server.js
+1
-1
No files found.
ygopro-server.coffee
View file @
5f70c694
...
...
@@ -1720,7 +1720,7 @@ ygopro.ctos_follow 'JOIN_GAME', false, (buffer, info, client, server)->
return
found
=
false
for
k
,
match
of
data
if
match
and
match
.
match
and
!
match
.
match
.
winnerId
and
match
.
match
.
player1Id
and
match
.
match
.
player2Id
and
(
match
.
match
.
player1Id
==
client
.
challonge_info
.
id
or
match
.
match
.
player2Id
==
client
.
challonge_info
.
id
)
if
match
and
match
.
match
and
!
match
.
match
.
winnerId
and
match
.
match
.
state
!=
"complete"
and
match
.
match
.
player1Id
and
match
.
match
.
player2Id
and
(
match
.
match
.
player1Id
==
client
.
challonge_info
.
id
or
match
.
match
.
player2Id
==
client
.
challonge_info
.
id
)
found
=
match
.
match
break
if
!
found
...
...
ygopro-server.js
View file @
5f70c694
...
...
@@ -2106,7 +2106,7 @@
found
=
false
;
for
(
k
in
data
)
{
match
=
data
[
k
];
if
(
match
&&
match
.
match
&&
!
match
.
match
.
winnerId
&&
match
.
match
.
player1Id
&&
match
.
match
.
player2Id
&&
(
match
.
match
.
player1Id
===
client
.
challonge_info
.
id
||
match
.
match
.
player2Id
===
client
.
challonge_info
.
id
))
{
if
(
match
&&
match
.
match
&&
!
match
.
match
.
winnerId
&&
match
.
match
.
state
!==
"
complete
"
&&
match
.
match
.
player1Id
&&
match
.
match
.
player2Id
&&
(
match
.
match
.
player1Id
===
client
.
challonge_info
.
id
||
match
.
match
.
player2Id
===
client
.
challonge_info
.
id
))
{
found
=
match
.
match
;
break
;
}
...
...
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