Scooters can't be used when stunned, limb damage sound position fix, longer view distance when outside

This commit is contained in:
Regalis
2016-02-15 17:50:17 +02:00
parent 35e2d441fc
commit a57f1feb63
10 changed files with 25 additions and 13 deletions
@@ -51,7 +51,7 @@ namespace Barotrauma.Items.Components
public override bool Use(float deltaTime, Character character = null)
{
if (character == null) return false;
if (!character.IsKeyDown(InputType.Aim)) return false;
if (!character.IsKeyDown(InputType.Aim) || character.Stun>0.0f) return false;
if (item.InWater)
{