Skip to content

Commit ef343eb

Browse files
committed
Fixed bug in return of completed data for assault extdata
1 parent 6d023b2 commit ef343eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

addons/libs/extdata.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2042,8 +2042,8 @@ function decode.AssaultLog(itemid, str)
20422042
}
20432043

20442044
local names = missions[itemid]
2045-
local flags = {str:unpack("<q10")}
2046-
local data = T{flags}:key_map(function(id) return names[id] end)
2045+
local flags = T{str:unpack("<q10")}
2046+
local data = flags:key_map(function(id) return names[id] end)
20472047
local rettab = {
20482048
type='Assault Log',
20492049
completed = S{data},

0 commit comments

Comments
 (0)