diff --git a/source/gamemodes/prophuntextended/gamemode/player_class/class_default.lua b/source/gamemodes/prophuntextended/gamemode/player_class/class_default.lua index 03fb6fd..2907973 100644 --- a/source/gamemodes/prophuntextended/gamemode/player_class/class_default.lua +++ b/source/gamemodes/prophuntextended/gamemode/player_class/class_default.lua @@ -122,6 +122,7 @@ function CLASS:ShowSpare2() end -- ------------------------------------------------------------------------- -- function CLASS:PostThink() end function CLASS:Tick(mv) end +function CLASS:FindUseEntity(defEnt) return defEnt end -- ------------------------------------------------------------------------- -- --! Client-Side diff --git a/source/gamemodes/prophuntextended/gamemode/sh_init.lua b/source/gamemodes/prophuntextended/gamemode/sh_init.lua index 0f87bbe..7cdb39a 100644 --- a/source/gamemodes/prophuntextended/gamemode/sh_init.lua +++ b/source/gamemodes/prophuntextended/gamemode/sh_init.lua @@ -104,6 +104,10 @@ function GM:PlayerTick(ply, mv) return player_manager.RunClass(ply, "Tick", mv) end +function GM:FindUseEntity(ply, defaultEnt) + return player_manager.RunClass(ply, "FindUseEntity", defaultEnt) +end + -- ------------------------------------------------------------------------- -- --! Gamemode Functionality -- ------------------------------------------------------------------------- --