Functional networkevent validation, functional single player saving, requireditem ui texts, titlescreen & loading

This commit is contained in:
Regalis
2015-07-19 02:44:42 +03:00
parent 237df18765
commit baa207985c
78 changed files with 1237 additions and 596 deletions
+7 -2
View File
@@ -20,6 +20,7 @@ namespace Subsurface
private GUIFrame guiFrame;
private GUIListBox listBox;
public int Money
{
get { return money; }
@@ -143,7 +144,11 @@ namespace Subsurface
{
foreach (Character c in characters)
{
if (!c.IsDead) continue;
if (!c.IsDead)
{
c.Info.UpdateCharacterItems();
continue;
}
CharacterInfo deadInfo = characterInfos.Find(x => c.Info == x);
if (deadInfo != null) characterInfos.Remove(deadInfo);
@@ -165,7 +170,7 @@ namespace Subsurface
element.Add(new XAttribute("money", money));
foreach (CharacterInfo ci in characterInfos)
{
{
ci.Save(element);
}