Skip to content

Commit

Permalink
Use old revision var
Browse files Browse the repository at this point in the history
  • Loading branch information
thegrb93 committed Oct 31, 2023
1 parent db5fd6b commit e4a0d9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions lua/advdupe2/sh_codec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
]]

local REVISION = 5
AdvDupe2.CODEC_REVISION = REVISION
AdvDupe2.CodecRevision = REVISION

include "sh_codec_legacy.lua"
AddCSLuaFile "sh_codec_legacy.lua"
Expand All @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion lua/weapons/gmod_tool/stools/advdupe2.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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("")
Expand Down

0 comments on commit e4a0d9d

Please sign in to comment.