gamemode/player_class/class_hider: Log interaction with entities

This commit is contained in:
Michael Fabian 'Xaymar' Dirks
2018-08-07 02:39:12 +02:00
parent c56d0cee3e
commit a1590c70a4
@@ -148,6 +148,7 @@ function CLASS:Use(ent)
-- Allow interacting while crouched instead of turning into the prop. -- Allow interacting while crouched instead of turning into the prop.
if (self.Player:Crouching()) then if (self.Player:Crouching()) then
if GAMEMODE.Config:DebugLog() then print("Prop Hunt: Hider '"..self.Player:GetName().."' (SteamID: "..self.Player:SteamID()..") interacted with "..ent:GetClass().." ("..ent:GetModel()..").") end
return true return true
end end