Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed issue where multiple weapons of same type was not showing #1

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixed lua bug script
  • Loading branch information
powershellwhizz committed Jan 24, 2022
commit 562e6b2e4ef704077ea455955f80d24f6f96582c
1 change: 1 addition & 0 deletions .gitignore/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules/
files/
test.txt
2 changes: 1 addition & 1 deletion lua_modules/MatchedPlay.lua
Original file line number Diff line number Diff line change
@@ -371,7 +371,7 @@ function hideCard(player, card)
if element.attributes ~= nil and
element.attributes.id ~= nil and
(element.attributes.id:find("^ymc%-")) ~= nil and -- if we find a card
element.attributes.active = true then
element.attributes.active == true then
return -- we found a card that is still visible, so we dont want to reset the UI
end

1 change: 1 addition & 0 deletions test.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sad