From f71a6a7e0bcb87c0d7b6c97484a0aa1d8a8cd3ba Mon Sep 17 00:00:00 2001 From: Andrew McWatters Date: Sat, 7 Oct 2017 10:54:24 -0700 Subject: [PATCH] Code drop --- engine/shared/entities/player.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" } )