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
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
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
MyCard
srvpro
Commits
5778ab9d
Commit
5778ab9d
authored
Dec 29, 2019
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix first list array
parent
38ec51c4
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 @
5778ab9d
...
@@ -2389,7 +2389,7 @@ ygopro.stoc_follow 'GAME_MSG', true, (buffer, info, client, server, datas)->
...
@@ -2389,7 +2389,7 @@ ygopro.stoc_follow 'GAME_MSG', true, (buffer, info, client, server, datas)->
else
else
ygopro
.
stoc_send_chat_to_room
(
room
,
"${death_start_extra}"
,
ygopro
.
constants
.
COLORS
.
BABYBLUE
)
ygopro
.
stoc_send_chat_to_room
(
room
,
"${death_start_extra}"
,
ygopro
.
constants
.
COLORS
.
BABYBLUE
)
if
client
.
is_first
and
(
room
.
hostinfo
.
mode
!=
2
or
client
.
pos
==
0
or
client
.
pos
==
2
)
if
client
.
is_first
and
(
room
.
hostinfo
.
mode
!=
2
or
client
.
pos
==
0
or
client
.
pos
==
2
)
room
.
first_list
[
room
.
duel_count
-
1
]
=
client
.
name_vpass
room
.
first_list
.
push
(
client
.
name_vpass
)
if
settings
.
modules
.
retry_handle
.
enabled
if
settings
.
modules
.
retry_handle
.
enabled
client
.
retry_count
=
0
client
.
retry_count
=
0
client
.
last_game_msg
=
null
client
.
last_game_msg
=
null
...
...
ygopro-server.js
View file @
5778ab9d
...
@@ -2969,7 +2969,7 @@
...
@@ -2969,7 +2969,7 @@
}
}
}
}
if
(
client
.
is_first
&&
(
room
.
hostinfo
.
mode
!==
2
||
client
.
pos
===
0
||
client
.
pos
===
2
))
{
if
(
client
.
is_first
&&
(
room
.
hostinfo
.
mode
!==
2
||
client
.
pos
===
0
||
client
.
pos
===
2
))
{
room
.
first_list
[
room
.
duel_count
-
1
]
=
client
.
name_vpass
;
room
.
first_list
.
push
(
client
.
name_vpass
)
;
}
}
if
(
settings
.
modules
.
retry_handle
.
enabled
)
{
if
(
settings
.
modules
.
retry_handle
.
enabled
)
{
client
.
retry_count
=
0
;
client
.
retry_count
=
0
;
...
...
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