Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
op72_plus
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
template admin
op72_plus
Commits
7191be38
Commit
7191be38
authored
Nov 25, 2022
by
yu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
5645ceee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Game.ts
assets/op72_plus/scene/tool/Game.ts
+3
-3
No files found.
assets/op72_plus/scene/tool/Game.ts
View file @
7191be38
...
@@ -172,13 +172,13 @@ export default class Game {
...
@@ -172,13 +172,13 @@ export default class Game {
this
.
page
=
1
;
this
.
page
=
1
;
this
.
start
=
true
;
this
.
start
=
true
;
this
.
lists
=
[];
this
.
lists
=
[];
this
.
data
.
sort
(
function
()
{
return
(
0.5
-
Math
.
random
());
});
for
(
let
i
=
0
;
i
<
this
.
data
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
this
.
data
.
length
;
i
++
)
{
let
data
=
this
.
data
[
i
];
let
data
=
this
.
data
[
i
];
this
.
lists
.
push
(
new
Option
(
data
,
i
+
1
));
this
.
lists
.
push
(
new
Option
(
data
,
i
+
1
));
}
}
this
.
lists
.
sort
(
function
()
{
return
(
0.5
-
Math
.
random
());
});
this
.
state
=
GAME_STATE
.
WAIT
;
this
.
state
=
GAME_STATE
.
WAIT
;
this
.
total
=
this
.
lists
.
length
;
this
.
total
=
this
.
lists
.
length
;
}
}
...
...
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