mirror of https://github.com/OpenTTD/OpenTTD
Revert ee6e30e: pretending 13.2.1 was 13.2 didn't work
This reverts commit ee6e30ead9
.
pull/11078/head
parent
7cdb8c92e0
commit
69168078d8
|
@ -47,10 +47,6 @@ std::string_view GetNetworkRevisionString()
|
|||
if (network_revision.empty()) {
|
||||
network_revision = _openttd_revision;
|
||||
if (_openttd_revision_tagged) {
|
||||
/* 13.2.1 is a fix-release with only a single change in the Win32 video driver.
|
||||
* As such, it is safe to call it 13.2 from a networking point of view. */
|
||||
if (network_revision == "13.2.1") network_revision = "13.2";
|
||||
|
||||
/* Tagged; do not mangle further, though ensure it's not too long. */
|
||||
if (network_revision.size() >= NETWORK_REVISION_LENGTH) network_revision.resize(NETWORK_REVISION_LENGTH - 1);
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue