Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
mycard
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
syntax_j
mycard
Commits
fe181673
Commit
fe181673
authored
Aug 22, 2021
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no more ygopro conf tune
parent
e02a90ba
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
app/ygopro.component.ts
app/ygopro.component.ts
+7
-7
No files found.
app/ygopro.component.ts
View file @
fe181673
...
...
@@ -497,7 +497,7 @@ export class YGOProComponent implements OnInit, OnDestroy {
};
async
join
(
name
:
string
,
server
:
Server
)
{
let
system_conf
=
await
this
.
load_system_conf
();
/*
let system_conf = await this.load_system_conf();
await this.fix_fonts(system_conf);
system_conf.lastdeck = this.current_deck;
system_conf.lastip = server.address;
...
...
@@ -505,22 +505,22 @@ export class YGOProComponent implements OnInit, OnDestroy {
system_conf.lastport = server.port.toString();
system_conf.roompass = name;
system_conf.nickname = this.loginService.user.username;
await
this
.
save_system_conf
(
system_conf
);
return
this
.
start_game
([
'
-j
'
]);
await this.save_system_conf(system_conf);
*/
return
this
.
start_game
([
'
-
h
'
,
server
.
address
,
'
-p
'
,
server
.
port
.
toString
(),
'
-w
'
,
name
,
'
-n
'
,
this
.
loginService
.
user
.
username
,
'
-d
'
,
this
.
current_deck
,
'
-
j
'
]);
};
async
edit_deck
(
deck
:
string
)
{
let
system_conf
=
await
this
.
load_system_conf
();
/*
let system_conf = await this.load_system_conf();
await this.fix_fonts(system_conf);
system_conf.lastdeck = deck;
await
this
.
save_system_conf
(
system_conf
);
await this.save_system_conf(system_conf);
*/
return
this
.
start_game
([
'
-d
'
,
deck
]);
}
async
watch_replay
(
replay
:
string
)
{
let
system_conf
=
await
this
.
load_system_conf
();
/*
let system_conf = await this.load_system_conf();
await this.fix_fonts(system_conf);
await
this
.
save_system_conf
(
system_conf
);
await this.save_system_conf(system_conf);
*/
return
this
.
start_game
([
'
-r
'
,
path
.
join
(
'
replay
'
,
replay
+
'
.yrp
'
)]);
}
...
...
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