From 7feda9f6a8d6693b53431c70b44e88f5048b1bec Mon Sep 17 00:00:00 2001 From: "E. Almqvist" Date: Sat, 15 Feb 2020 17:31:12 +0100 Subject: [PATCH] Cleaned debug code --- entities/entities/q_node/init.lua | 1 - gamemode/engine/lib/sh_node.lua | 1 - 2 files changed, 2 deletions(-) diff --git a/entities/entities/q_node/init.lua b/entities/entities/q_node/init.lua index 867f63e..b0f661a 100644 --- a/entities/entities/q_node/init.lua +++ b/entities/entities/q_node/init.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() diff --git a/gamemode/engine/lib/sh_node.lua b/gamemode/engine/lib/sh_node.lua index 80fe0fa..f1c0105 100644 --- a/gamemode/engine/lib/sh_node.lua +++ b/gamemode/engine/lib/sh_node.lua @@ -44,7 +44,6 @@ if SERVER then ent:SetNWString( "q_node_id", nodeid ) ent:SetHealth( node.health ) - print( "#########", ent:Health() ) ent:Spawn() end