11/*****************************************************************************
22 * The MIT License (MIT)
33 *
4- * Copyright (c) 2016-2020 MOARdV
4+ * Copyright (c) 2016-2022 MOARdV
55 *
66 * Permission is hereby granted, free of charge, to any person obtaining a copy
77 * of this software and associated documentation files (the "Software"), to
@@ -762,7 +762,7 @@ private void LoadAssets()
762762 AudioClip clip = GameDatabase . Instance . GetAudioClip ( val . value ) ;
763763 if ( clip == null )
764764 {
765- Utility . LogError ( this , "Could not load audio clip {0} for morse code '{1}" , val . value , val . name ) ;
765+ Utility . LogError ( this , "Could not load audio clip {0} for morse code '{1}' " , val . value , val . name ) ;
766766 }
767767 else
768768 {
@@ -779,12 +779,15 @@ private void LoadAssets()
779779 string subPageName = string . Empty ;
780780 if ( subPageNode [ subPageIdx ] . TryGetValue ( "name" , ref subPageName ) )
781781 {
782+ subPageName = subPageName . Trim ( ) ;
783+
782784 List < ConfigNode > subPageNodes = new List < ConfigNode > ( ) ;
783785 ConfigNode [ ] nodes = subPageNode [ subPageIdx ] . GetNodes ( ) ;
784786
785787 subPageNodes . AddRange ( nodes ) ;
786788
787789 subPages . Add ( subPageName , subPageNodes ) ;
790+ Utility . LogMessage ( this , "Found MAS_SUB_PAGE \" {0}\" " , subPageName ) ;
788791 }
789792 else
790793 {
0 commit comments