Cleaned debug code

master
E. Almqvist 5 years ago
parent 7d6d9099c7
commit 7feda9f6a8
  1. 1
      entities/entities/q_node/init.lua
  2. 1
      gamemode/engine/lib/sh_node.lua

@ -31,7 +31,6 @@ function ENT:OnTakeDamage( dmgInfo )
if( self:Health() <= 0 ) then
Quantum.Node.Remove( self )
end
print( self:Health(), dmgInfo:GetDamage() )
local attacker = dmgInfo:GetAttacker()
local wep = attacker:GetActiveWeapon()

@ -44,7 +44,6 @@ if SERVER then
ent:SetNWString( "q_node_id", nodeid )
ent:SetHealth( node.health )
print( "#########", ent:Health() )
ent:Spawn()
end

Loading…
Cancel
Save