diff --git a/gamemode/cl_init.lua b/gamemode/cl_init.lua index a198c3f..838dbda 100644 --- a/gamemode/cl_init.lua +++ b/gamemode/cl_init.lua @@ -43,7 +43,7 @@ if CLIENT then local fol = GM.FolderName .. "/gamemode/engine/derma/" local clFiles = file.Find( fol .. "/cl_*.lua", "LUA" ) for _, file in pairs( clFiles ) do - include( fol .. "/" .. file ) + include( fol .. file ) end end diff --git a/gamemode/engine/core/sh_player_binds.lua b/gamemode/engine/core/sh_player_binds.lua index a2a138c..354bff6 100644 --- a/gamemode/engine/core/sh_player_binds.lua +++ b/gamemode/engine/core/sh_player_binds.lua @@ -10,12 +10,13 @@ if SERVER then local keyfuncs = { [IN_USE] = function( pl ) - pl:ChatPrint( "Use bind test" ) + Quantum.Debug( tostring( pl ) .. " pressed IN_USE" ) end } function GM:KeyRelease( ply, key ) - if( keyfuncs[key] ) then keyfuncs[key]( pl ) end + if( keyfuncs[key] ) then keyfuncs[key]( ply ) end end - +else + -- end \ No newline at end of file