From a9cf6b2ebcc53c05b28f14ff31cefb127d132787 Mon Sep 17 00:00:00 2001 From: achmad Date: Sat, 30 May 2026 03:54:44 +0700 Subject: [PATCH] fix: card system --- scripts/vscripts/cards/cardsystem.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/vscripts/cards/cardsystem.lua b/scripts/vscripts/cards/cardsystem.lua index aa310d2..5d0a025 100644 --- a/scripts/vscripts/cards/cardsystem.lua +++ b/scripts/vscripts/cards/cardsystem.lua @@ -2786,6 +2786,7 @@ function CardSystem.prototype.CreateNewDeck(self, name) while i <= 10 do if not self.decks[tostring(i)] then self.decks[tostring(i)] = {name = name, cards = {}} + self:SaveDeckToServer(i, {}, name) self:SyncDecks() CustomGameEventManager:Send_ServerToPlayer(player, "deck_selected", {index = i}) return