Skip to content

Commit 7e04828

Browse files
committed
Update "Duelist Kingdom"
It was calling an incorrect string for the victory reason when the duel finished due to its rules
1 parent 9ea3b72 commit 7e04828

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unofficial/c511002621.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ function s.wincon(e,tp,eg,ep,ev,re,r,rp)
149149
and Duel.GetActivityCount(p,ACTIVITY_SPSUMMON)==0 and Duel.GetActivityCount(p,ACTIVITY_FLIPSUMMON)==0
150150
end
151151
function s.winop(e,tp,eg,ep,ev,re,r,rp)
152-
local WIN_REASON=0x58
152+
local WIN_REASON=0x5a
153153
local p=Duel.GetTurnPlayer()
154154
if Duel.GetFieldGroupCount(p,LOCATION_MZONE,0)==0 and Duel.GetActivityCount(p,ACTIVITY_NORMALSUMMON)==0
155155
and Duel.GetActivityCount(p,ACTIVITY_SPSUMMON)==0 and Duel.GetActivityCount(p,ACTIVITY_FLIPSUMMON)==0 then

0 commit comments

Comments
 (0)