@@ -914,40 +914,15 @@ private static void PatchMainAwake()
914914 {
915915 string cosmetics = "" ;
916916 string cheats = "" ;
917-
918- // load credit values
919- TMPro . TextMeshProUGUI titleCredits = GameUI . m_Instance . m_Settings . m_CreditsPanel . transform
920- . Find ( "Mask/Credits/Titles" )
921- . GetComponent < TMPro . TextMeshProUGUI > ( ) ;
922-
923- TMPro . TextMeshProUGUI nameCredits = GameUI . m_Instance . m_Settings . m_CreditsPanel . transform
924- . Find ( "Mask/Credits/Names" )
925- . GetComponent < TMPro . TextMeshProUGUI > ( ) ;
926-
927- // aligning things properly
928- titleCredits . text = titleCredits . text + "\n \n \n \n \n " ;
929- nameCredits . text = nameCredits . text . TrimEnd ( '\n ' ) + "\n Arglin Kampling\n \n " ;
930917
931918 foreach ( PolyTechMod mod in PolyTechMain . noncheatMods )
932919 {
933920 cosmetics += $ "\n { mod . Info . Metadata . Name } - v{ mod . Info . Metadata . Version } ";
934- if ( mod . authors != null ) {
935- titleCredits . text += $ "{ mod . Info . Metadata . Name } \n ";
936- nameCredits . text += String . Join ( "\n " , mod . authors ) + "\n \n " ;
937- titleCredits . text += new string ( '\n ' , mod . authors . Length ) ;
938- }
939921 }
940922 foreach ( PolyTechMod mod in PolyTechMain . cheatMods )
941923 {
942924 cheats += $ "\n { mod . Info . Metadata . Name } - v{ mod . Info . Metadata . Version } ";
943- if ( mod . authors != null ) {
944- titleCredits . text += $ "{ mod . Info . Metadata . Name } \n ";
945- nameCredits . text += String . Join ( "\n " , mod . authors ) + "\n \n " ;
946- titleCredits . text += new string ( '\n ' , mod . authors . Length ) ;
947- }
948925 }
949- titleCredits . text += "\n \n " ;
950- nameCredits . text += "\n \n " ;
951926
952927 ptfInstance . ptfLogger . LogMessage ( $ "Game Started with the following Cosmetic mods: { cosmetics } ") ;
953928 ptfInstance . ptfLogger . LogMessage ( $ "Game Started with the following Cheat mods: { cheats } ") ;
0 commit comments