(d9829ac) v0.9.4.0

This commit is contained in:
Regalis
2019-10-24 18:05:42 +02:00
parent 9aa12bcac2
commit b39922a074
319 changed files with 12516 additions and 6815 deletions
@@ -1,4 +1,5 @@
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Xml.Linq;
@@ -12,6 +13,8 @@ namespace Barotrauma
public readonly string MusicType;
public float Commonness;
public ScriptedEventPrefab(XElement element)
{
ConfigElement = element;
@@ -30,6 +33,7 @@ namespace Barotrauma
{
DebugConsole.ThrowError("Could not find an event class of the type \"" + ConfigElement.Name + "\".");
}
Commonness = element.GetAttributeFloat("commonness", 1.0f);
}
public ScriptedEvent CreateInstance()