cleans up nonsense from card.gd
This commit is contained in:
parent
bf9244c2b7
commit
6100a50754
4
card.gd
4
card.gd
@ -39,9 +39,5 @@ func load_card() -> bool:
|
|||||||
card_type = card_json["type_line"]
|
card_type = card_json["type_line"]
|
||||||
oracle_text = card_json["oracle_text"]
|
oracle_text = card_json["oracle_text"]
|
||||||
|
|
||||||
var img = Image.new()
|
|
||||||
img.load("user://card_cache/" + card_id + "/card.jpg")
|
|
||||||
texture = ImageTexture.create_from_image(img)
|
|
||||||
|
|
||||||
ondisk_card = null
|
ondisk_card = null
|
||||||
return true
|
return true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user