diff --git a/templates/SCP.bt b/templates/SCP.bt index cb064b3a6..70f4078b8 100644 --- a/templates/SCP.bt +++ b/templates/SCP.bt @@ -124,6 +124,9 @@ local long footerPosition = 0; wstring ReadPStringUTF8(uint pos) { + if(pos == 0) + return ""; + FSeek(pos); ushort strLen = ReadUShort(); char str[] = ReadString(pos + 2, strLen);