--- deliantra/server/lib/cf.pm 2007/06/25 07:40:53 1.288 +++ deliantra/server/lib/cf.pm 2007/06/30 03:00:54 1.289 @@ -2712,6 +2712,11 @@ sub reload_archetypes { load_resource_file "$DATADIR/archetypes" or die "unable to load archetypes\n"; + #d# NEED to laod twice to resolve forward references + # this really needs to be done in an extra post-pass + # (which needs to be synchronous, so solve it differently) + load_resource_file "$DATADIR/archetypes" + or die "unable to load archetypes\n"; } sub reload_treasures {