add new version in samp protocol

This commit is contained in:
Pedro Ivo Hudson 2024-02-24 15:41:25 -03:00
parent 6639536209
commit 0996fb335f
1 changed files with 1 additions and 0 deletions

View File

@ -35,6 +35,7 @@ export default class samp extends Core {
const key = reader.pascalString(1)
const value = reader.pascalString(1)
state.raw.rules[key] = value
if ('version' in state.raw.rules) state.version = state.raw.rules.version
}
}