Domination point always networks

This commit is contained in:
Fesiug 2024-09-16 00:40:43 -04:00
parent d2a87a52ca
commit 85f9d855db
Signed by: Fesiug
GPG Key ID: 374BFF45E1EEF243
1 changed files with 5 additions and 0 deletions

View File

@ -8,6 +8,7 @@ ENT.DomFlag = true
function ENT:Initialize()
self:SetModel("models/hunter/blocks/cube025x025x025.mdl")
self:AddEFlags( EFL_FORCE_CHECK_TRANSMIT )
self:SetMoveType( MOVETYPE_NONE )
@ -26,6 +27,10 @@ function ENT:Initialize()
self:SetTeamOwned( 0 )
end
function ENT:UpdateTransmitState()
return TRANSMIT_ALWAYS
end
function ENT:SetupDataTables()
self:NetworkVar( "Float", "CapturePercent" )
self:NetworkVar( "Int", "TeamTaking" )