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
f652cfe7
Commit
f652cfe7
authored
Mar 14, 2021
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
aa4be601
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
ygopro-server.coffee
ygopro-server.coffee
+1
-1
ygopro-server.js
ygopro-server.js
+1
-1
No files found.
ygopro-server.coffee
View file @
f652cfe7
...
@@ -1651,7 +1651,7 @@ class Room
...
@@ -1651,7 +1651,7 @@ class Room
return
return
kill_bots_with_name
:
(
name
)
->
kill_bots_with_name
:
(
name
)
->
stand_bots
=
room
.
get_playing_player
().
filter
((
player
)
->
stand_bots
=
@
get_playing_player
().
filter
((
player
)
->
return
player
.
is_local
and
player
.
name_vpass
==
name
return
player
.
is_local
and
player
.
name_vpass
==
name
)
)
for
player
in
stand_bots
for
player
in
stand_bots
...
...
ygopro-server.js
View file @
f652cfe7
...
@@ -2198,7 +2198,7 @@
...
@@ -2198,7 +2198,7 @@
//log.info "windbot added"
//log.info "windbot added"
kill_bots_with_name
(
name
)
{
kill_bots_with_name
(
name
)
{
var
j
,
len
,
player
,
results
,
stand_bots
;
var
j
,
len
,
player
,
results
,
stand_bots
;
stand_bots
=
room
.
get_playing_player
().
filter
(
function
(
player
)
{
stand_bots
=
this
.
get_playing_player
().
filter
(
function
(
player
)
{
return
player
.
is_local
&&
player
.
name_vpass
===
name
;
return
player
.
is_local
&&
player
.
name_vpass
===
name
;
});
});
results
=
[];
results
=
[];
...
...
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