diff --git a/engine/shared/entities/player.lua b/engine/shared/entities/player.lua index 5fc90dd0..8d05f1c3 100644 --- a/engine/shared/entities/player.lua +++ b/engine/shared/entities/player.lua @@ -199,7 +199,7 @@ concommand( "+right", "Start moving player right", function( _, player ) end, { "game" } ) concommand( "-right", "Stop moving player right", function( _, player ) - localplayer._buttons = bit.band( localplayer._buttons, bit.bnot( _E.IN_RIGHT ) ) + player._buttons = bit.band( player._buttons, bit.bnot( _E.IN_RIGHT ) ) end, { "game" } )