1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-24 00:03:11 +01:00

Fix #12621: Missing argument for localisation

This commit is contained in:
ζeh Matt
2020-08-10 14:58:39 +02:00
committed by GitHub
parent 6f8ae294ae
commit cb38d28b62
3 changed files with 4 additions and 1 deletions

View File

@@ -3634,6 +3634,7 @@ STR_6375 :Unknown Ride
STR_6376 :{WINDOW_COLOUR_2}Ride vehicle:{NEWLINE}{BLACK}{STRINGID} for {STRINGID}
STR_6377 :{WINDOW_COLOUR_2}Type: {BLACK}{STRINGID} for {STRINGID}
STR_6378 :Receiving objects list: {INT32} / {INT32}
STR_6379 :Received invalid data
#############
# Scenarios #

View File

@@ -3876,6 +3876,8 @@ enum
STR_MULTIPLAYER_RECEIVING_OBJECTS_LIST = 6378,
STR_MULTIPLAYER_RECEIVED_INVALID_DATA = 6379,
// Have to include resource strings (from scenarios and objects) for the time being now that language is partially working
/* MAX_STR_COUNT = 32768 */ // MAX_STR_COUNT - upper limit for number of strings, not the current count strings
};

View File

@@ -2283,7 +2283,7 @@ void NetworkBase::Client_Handle_AUTH(NetworkConnection& connection, NetworkPacke
connection.Socket->Disconnect();
break;
default:
connection.SetLastDisconnectReason(STR_MULTIPLAYER_INCORRECT_SOFTWARE_VERSION);
connection.SetLastDisconnectReason(STR_MULTIPLAYER_RECEIVED_INVALID_DATA);
connection.Socket->Disconnect();
break;
}