aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authorArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2024-10-21 15:28:47 +0300
committerArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2024-10-21 15:28:58 +0300
commitac4c2e310e22bf03b366a73cc1a06035930b1274 (patch)
tree382ef7bab09b967b77466dca707800e496d7d67f /backend
parentrefactor: touch ups (diff)
downloadlphub-ac4c2e310e22bf03b366a73cc1a06035930b1274.tar.gz
lphub-ac4c2e310e22bf03b366a73cc1a06035930b1274.tar.bz2
lphub-ac4c2e310e22bf03b366a73cc1a06035930b1274.zip
backend: fix parser
Diffstat (limited to 'backend')
-rw-r--r--backend/parser/parser.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/backend/parser/parser.go b/backend/parser/parser.go
index aa19592..19cd677 100644
--- a/backend/parser/parser.go
+++ b/backend/parser/parser.go
@@ -81,7 +81,8 @@ func ProcessDemo(filePath string) (Result, error) {
81 case 5: 81 case 5:
82 packetReader.TryReadString() 82 packetReader.TryReadString()
83 case 6: 83 case 6:
84 for count := 0; count < int(packetReader.TryReadUInt8()); count++ { 84 length := int(packetReader.TryReadUInt8())
85 for count := 0; count < length; count++ {
85 packetReader.TryReadString() 86 packetReader.TryReadString()
86 packetReader.TryReadString() 87 packetReader.TryReadString()
87 } 88 }