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
b5ad3ee4
Commit
b5ad3ee4
authored
Dec 02, 2018
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix stuck when reconnect after tp
parent
5f586497
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ygopro-server.coffee
ygopro-server.coffee
+2
-2
No files found.
ygopro-server.coffee
View file @
b5ad3ee4
...
...
@@ -682,7 +682,7 @@ CLIENT_send_reconnect_info = (client, server, room) ->
client
.
reconnecting
=
false
else
if
room
.
selecting_tp
ygopro
.
stoc_send
(
client
,
'DUEL_START'
)
if
client
==
room
.
selecting_tp
and
!
client
.
selected_preduel
if
client
==
room
.
selecting_tp
#
and !client.selected_preduel
ygopro
.
stoc_send
(
client
,
'SELECT_TP'
)
client
.
reconnecting
=
false
else
...
...
@@ -2801,7 +2801,7 @@ ygopro.ctos_follow 'TP_RESULT', false, (buffer, info, client, server)->
room
=
ROOM_all
[
client
.
rid
]
return
unless
room
client
.
selected_preduel
=
true
room
.
selecting_tp
=
false
#
room.selecting_tp = false
return
unless
room
.
random_type
or
room
.
arena
room
.
last_active_time
=
moment
()
return
...
...
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