ScriptedEvent debug logging, saving VerboseLogging option, using the first loaded contentpackage if no contentpackage has been selected

This commit is contained in:
Regalis
2016-04-23 17:28:11 +03:00
parent 14ef736176
commit 1a96159bdb
5 changed files with 25 additions and 5 deletions

View File

@@ -64,6 +64,11 @@ namespace Barotrauma
get { return difficulty; }
}
public override string ToString()
{
return "ScriptedEvent ("+name+")";
}
public ScriptedEvent(XElement element)
{
name = ToolBox.GetAttributeString(element, "name", "");