gamemode/player_class/class_hider: Log interaction with entities
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user