mirror of
https://github.com/wiremod/advdupe2.git
synced 2025-03-04 03:03:05 -05:00
Fixed the KeyValues for vehicles when pasting.
This commit is contained in:
parent
067d2f75db
commit
63873d2743
@ -330,7 +330,7 @@ local function LoadSents()
|
||||
AdvDupe2.duplicator.WhiteList[_] = true
|
||||
end
|
||||
end
|
||||
concommand.Add("advdupe2_reloadwhitelist", LoadSents)
|
||||
//concommand.Add("advdupe2_reloadwhitelist", LoadSents)
|
||||
hook.Add( "InitPostEntity", "LoadDuplicatingEntities", LoadSents)
|
||||
|
||||
--[[
|
||||
@ -764,7 +764,7 @@ local function CreateEntityFromTable(EntTable, Player)
|
||||
if ( Key == "ang" || Key == "Ang" || Key == "angle" ) then Key = "Angle" end
|
||||
if ( Key == "model" ) then Key = "Model" end
|
||||
if ( Key == "VehicleTable" )then //Exploit fix, not sure if its still an exploit
|
||||
EntTable[Key] = {vehiclescript=EntTable[Key].vehiclescript, limitview=EntTable[Key].limitview}
|
||||
EntTable[Key]["KeyValues"] = {vehiclescript=EntTable[Key]["KeyValues"] .vehiclescript, limitview=EntTable[Key]["KeyValues"] .limitview}
|
||||
end
|
||||
Arg = EntTable[ Key ]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user