Skip to content

Commit

Permalink
feat: add print statements to help debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
Alystrasz committed Jul 27, 2024
1 parent 0b6cd0e commit a757a5c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -974,9 +974,11 @@ void function OnServerSelected_Threaded( var button )
{
if ( !modNames.contains( requiredModInfo.name ) )
{
print( format ( "\"%s\" was not found locally, triggering manifesto fetching.", requiredModInfo.name ) )
uninstalledModFound = true
break
} else if ( NSGetModVersionByModName( requiredModInfo.name ) != requiredModInfo.version ) {
print( format ( "\"%s\" was found locally but has version \"%s\" while server requires \"%s\", triggering manifesto fetching.", requiredModInfo.name, NSGetModVersionByModName( requiredModInfo.name ), requiredModInfo.version ) )
uninstalledModFound = true
break
}
Expand Down

0 comments on commit a757a5c

Please sign in to comment.