mirror of
https://github.com/CFC-Servers/material-editor-tool.git
synced 2025-03-04 03:13:00 -05:00
Fix dumb NW2 bug
This commit is contained in:
parent
096c5ff392
commit
8eb027f7d2
@ -71,7 +71,10 @@ function advMat_Table:Set( ent, texture, data )
|
||||
data.texture = texture
|
||||
|
||||
if SERVER then
|
||||
ent:SetNW2String( "AdvMaterialCRC", util.CRC( tostring( {} ) ) )
|
||||
timer.Simple( 0, function()
|
||||
if not IsValid( ent ) then return end
|
||||
ent:SetNW2String( "AdvMaterialCRC", util.CRC( tostring( {} ) ) )
|
||||
end )
|
||||
|
||||
self:ResetAdvMaterial( ent )
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user