# HG changeset patch # User IBBoard # Date 1278270633 0 # Node ID d576034ad1ddbed8a7570bb0211a499990bc6a76 # Parent 10fb73206bd234bdf068bc1760ad278574e1aca8 Re #290: Migrate to using key/keyref definitions instead of ID/IDREF type * Migrate to using keys and keyrefs for default stats sets Also: * Make sure that getting the default ID fully loads the file diff -r 10fb73206bd2 -r d576034ad1dd api/Objects/GameSystem.cs --- a/api/Objects/GameSystem.cs Sun Jul 04 13:52:26 2010 +0000 +++ b/api/Objects/GameSystem.cs Sun Jul 04 19:10:33 2010 +0000 @@ -87,7 +87,8 @@ public string StandardSystemStatsID { get - { + { + EnsureFullyLoaded(); return defaultStats; } diff -r 10fb73206bd2 -r d576034ad1dd schemas/system.xsd --- a/schemas/system.xsd Sun Jul 04 13:52:26 2010 +0000 +++ b/schemas/system.xsd Sun Jul 04 19:10:33 2010 +0000 @@ -1,6 +1,6 @@ +targetNamespace="http://ibboard.co.uk/warfoundry/system" xmlns="http://ibboard.co.uk/warfoundry/system" xmlns:sys="http://ibboard.co.uk/warfoundry/system" elementFormDefault="qualified"> @@ -21,22 +21,30 @@ - + - + - + + + + + + + + + \ No newline at end of file