Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sejong25
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Tear of Sejong
sejong25
Commits
898e34f2
Commit
898e34f2
authored
Aug 23, 2019
by
18신대성
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
페이즈관련 조금 수정
parent
9faf947b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
11 deletions
+1
-11
GameServer.js
GameServer.js
+1
-11
No files found.
GameServer.js
View file @
898e34f2
...
...
@@ -268,7 +268,7 @@ class GameRoom
this
.
startTime
=
Date
.
now
();
setTimeout
(
function
()
{
this
.
checkPhase
(
Date
.
now
());
if
(
this
.
currentPhase
===
GameServer
.
Phase
.
START
)
this
.
checkPhase
(
Date
.
now
());
}.
bind
(
this
),
6000
);
}
...
...
@@ -282,16 +282,6 @@ class GameRoom
this
.
rateArrangePoint
=
150
;
this
.
announceToRoom
(
'
changePhase
'
,
GameServer
.
Phase
.
MAIN
);
}
else
if
(
this
.
phaseChanger
<
0
)
{
this
.
phaseChanger
=
setTimeout
(
function
(
room
)
{
room
.
currentPhase
=
GameServer
.
Phase
.
MAIN
;
room
.
rateArrangePoint
=
150
;
room
.
announceToRoom
(
'
changePhase
'
,
GameServer
.
Phase
.
MAIN
);
room
.
phaseChanger
=
-
1
;
},
60000
-
(
checkTime
-
this
.
startTime
),
this
);
}
}
else
if
(
this
.
currentPhase
===
GameServer
.
Phase
.
MAIN
)
{
...
...
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