Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-2pick
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
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
ygopro-2pick
Commits
0841c484
Commit
0841c484
authored
Jul 08, 2019
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add StopServer back in server
parent
36279669
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
gframe/single_duel.cpp
gframe/single_duel.cpp
+6
-2
gframe/tag_duel.cpp
gframe/tag_duel.cpp
+3
-1
No files found.
gframe/single_duel.cpp
View file @
0841c484
...
...
@@ -632,8 +632,10 @@ void SingleDuel::DuelEndProc() {
NetServer
::
ReSendToPlayer
(
*
oit
);
#ifdef YGOPRO_SERVER_MODE
NetServer
::
ReSendToPlayers
(
cache_recorder
,
replay_recorder
);
#endif
NetServer
::
StopServer
();
#else
duel_stage
=
DUEL_STAGE_END
;
#endif
}
else
{
int
winc
[
3
]
=
{
0
,
0
,
0
};
for
(
int
i
=
0
;
i
<
duel_count
;
++
i
)
...
...
@@ -648,8 +650,10 @@ void SingleDuel::DuelEndProc() {
NetServer
::
ReSendToPlayer
(
*
oit
);
#ifdef YGOPRO_SERVER_MODE
NetServer
::
ReSendToPlayers
(
cache_recorder
,
replay_recorder
);
#endif
NetServer
::
StopServer
();
#else
duel_stage
=
DUEL_STAGE_END
;
#endif
}
else
{
if
(
players
[
0
]
!=
pplayer
[
0
])
{
players
[
0
]
=
pplayer
[
0
];
...
...
gframe/tag_duel.cpp
View file @
0841c484
...
...
@@ -639,8 +639,10 @@ void TagDuel::DuelEndProc() {
NetServer
::
ReSendToPlayer
(
*
oit
);
#ifdef YGOPRO_SERVER_MODE
NetServer
::
ReSendToPlayers
(
cache_recorder
,
replay_recorder
);
#endif
NetServer
::
StopServer
();
#else
duel_stage
=
DUEL_STAGE_END
;
#endif
}
void
TagDuel
::
Surrender
(
DuelPlayer
*
dp
)
{
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