mirror of
https://github.com/wiremod/advdupe2.git
synced 2025-03-04 03:03:05 -05:00
Fix broken duping when not having loaded a file previously (#444)
* Fix broken duping when not having loaded a file previously Expose codec revision in AdvDupe2.CODEC_REVISION * Assign Revision on copy
This commit is contained in:
parent
7f061801bf
commit
db5fd6b439
@ -9,6 +9,7 @@
|
||||
]]
|
||||
|
||||
local REVISION = 5
|
||||
AdvDupe2.CODEC_REVISION = REVISION
|
||||
|
||||
include "sh_codec_legacy.lua"
|
||||
AddCSLuaFile "sh_codec_legacy.lua"
|
||||
|
@ -349,6 +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
|
||||
|
||||
net.Start("AdvDupe2_SetDupeInfo")
|
||||
net.WriteString("")
|
||||
|
Loading…
Reference in New Issue
Block a user