Fixed so unregistered components are ignored instead of crashing the game.

This commit is contained in:
William Moberg
2016-03-01 15:53:59 +01:00
parent e2b7e5400d
commit 5c6a652316
4 changed files with 21 additions and 8 deletions
+2
View File
@@ -52,6 +52,8 @@
<xs:element ref="c:Button" minOccurs="0"/>
<xs:element ref="c:WeaponAttachment" minOccurs="0"/>
<xs:element ref="c:DefenderWeapon" minOccurs="0"/>
<xs:element ref="c:AmmoPickup" minOccurs="0"/>
<xs:element ref="c:HealthPickup" minOccurs="0"/>
</xs:all>
</xs:complexType>
</xs:element>