(99fb00391) Don't allow deconstructing items that don't give anything when deconstructed. Closes #690

This commit is contained in:
Joonas Rikkonen
2019-04-18 12:03:22 +03:00
parent fdacc4534b
commit c85cf63494
2 changed files with 12 additions and 7 deletions
@@ -566,7 +566,7 @@ namespace Barotrauma
break;
#endif
case "deconstruct":
DeconstructTime = subElement.GetAttributeFloat("time", 10.0f);
DeconstructTime = subElement.GetAttributeFloat("time", 1.0f);
foreach (XElement deconstructItem in subElement.Elements())
{