Fixed Character.IsKeyHit

This commit is contained in:
juanjp600
2016-09-22 21:29:07 -03:00
parent 44e12ffed2
commit 84ce612d06
+1 -1
View File
@@ -639,7 +639,7 @@ namespace Barotrauma
public bool IsKeyHit(InputType inputType)
{
if (GameMain.Server != null && Character.Controlled != null)
if (GameMain.Server != null && Character.Controlled != this)
{
switch (inputType)
{