Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro
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
1
Merge Requests
1
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
ygopro
Commits
7e38079c
Commit
7e38079c
authored
Dec 18, 2025
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add skip credit when no entry
parent
b9f5dfeb
Pipeline
#42019
passed with stages
in 24 minutes and 48 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
gframe/deck_con.cpp
gframe/deck_con.cpp
+5
-0
No files found.
gframe/deck_con.cpp
View file @
7e38079c
...
@@ -1960,6 +1960,11 @@ bool DeckBuilder::check_limit(code_pointer pointer) {
...
@@ -1960,6 +1960,11 @@ bool DeckBuilder::check_limit(code_pointer pointer) {
if
(
limit
<
0
)
if
(
limit
<
0
)
return
false
;
return
false
;
}
}
// No entry in credits => skip every card credit check
if
(
filterList
->
credits
.
find
(
limitcode
)
==
filterList
->
credits
.
end
())
return
true
;
auto
code
=
card
->
second
.
alias
?
card
->
second
.
alias
:
card
->
first
;
auto
code
=
card
->
second
.
alias
?
card
->
second
.
alias
:
card
->
first
;
return
spend_credit
(
code
);
return
spend_credit
(
code
);
};
};
...
...
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