From e4a0d9d80b9ca0661fccf27e195000d4a85171a5 Mon Sep 17 00:00:00 2001 From: Garrett Brown Date: Tue, 31 Oct 2023 02:08:12 -0400 Subject: [PATCH] Use old revision var --- lua/advdupe2/sh_codec.lua | 4 +--- lua/weapons/gmod_tool/stools/advdupe2.lua | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/lua/advdupe2/sh_codec.lua b/lua/advdupe2/sh_codec.lua index 00475a5..86207b1 100644 --- a/lua/advdupe2/sh_codec.lua +++ b/lua/advdupe2/sh_codec.lua @@ -9,7 +9,7 @@ ]] local REVISION = 5 -AdvDupe2.CODEC_REVISION = REVISION +AdvDupe2.CodecRevision = REVISION include "sh_codec_legacy.lua" AddCSLuaFile "sh_codec_legacy.lua" @@ -31,8 +31,6 @@ local concat = table.concat local compress = util.Compress local decompress = util.Decompress -AdvDupe2.CodecRevision = REVISION - --[[ Name: GenerateDupeStamp Desc: Generates an info table. diff --git a/lua/weapons/gmod_tool/stools/advdupe2.lua b/lua/weapons/gmod_tool/stools/advdupe2.lua index ceb530e..de62ef2 100644 --- a/lua/weapons/gmod_tool/stools/advdupe2.lua +++ b/lua/weapons/gmod_tool/stools/advdupe2.lua @@ -349,7 +349,7 @@ if(SERVER)then ply.AdvDupe2.HeadEnt = HeadEnt ply.AdvDupe2.Entities = Entities ply.AdvDupe2.Constraints = GetSortedConstraints(ply, Constraints) - ply.AdvDupe2.Revision = AdvDupe2.CODEC_REVISION + ply.AdvDupe2.Revision = AdvDupe2.CodecRevision net.Start("AdvDupe2_SetDupeInfo") net.WriteString("")