shortsupply outdated function fix
This commit is contained in:
parent
edc2cc6fab
commit
4439add106
@ -21,7 +21,7 @@ function shortSupply(color)
|
|||||||
if drawDeck == nil then
|
if drawDeck == nil then
|
||||||
broadcastToColor("Deck not found!", color, "Yellow")
|
broadcastToColor("Deck not found!", color, "Yellow")
|
||||||
return
|
return
|
||||||
elseif drawDeck.tag ~= "Deck" then
|
elseif drawDeck.type ~= "Deck" then
|
||||||
broadcastToColor("Deck only contains a single card!", color, "Yellow")
|
broadcastToColor("Deck only contains a single card!", color, "Yellow")
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user