Fixed explosives being directly usable by characters, causing them to explode when left clicking while holding them due to 9dd9425c. See #385

This commit is contained in:
Joonas Rikkonen
2018-04-24 18:00:23 +03:00
parent 1f460c401e
commit 91d6c7b91f
10 changed files with 25 additions and 27 deletions
@@ -141,6 +141,14 @@ namespace Barotrauma.Items.Components
get { return removeOnCombined; }
set { removeOnCombined = value; }
}
//Can the "Use" action be triggered by characters or just other items/statuseffects
[Serialize(true, false)]
public bool CharacterUsable
{
get { return characterUsable; }
set { characterUsable = value; }
}
public InputType PickKey
{