From 0996fb335f2442152946a719c357b7cf303bc669 Mon Sep 17 00:00:00 2001 From: Pedro Ivo Hudson Date: Sat, 24 Feb 2024 15:41:25 -0300 Subject: [PATCH] add new version in samp protocol --- protocols/samp.js | 1 + 1 file changed, 1 insertion(+) diff --git a/protocols/samp.js b/protocols/samp.js index 9daa78b..9510541 100644 --- a/protocols/samp.js +++ b/protocols/samp.js @@ -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 } }