diff --git a/src/network/core/game_info.h b/src/network/core/game_info.h --- a/src/network/core/game_info.h +++ b/src/network/core/game_info.h @@ -89,8 +89,8 @@ struct NetworkGameInfo : NetworkServerGa extern NetworkServerGameInfo _network_game_info; -const char *GetNetworkRevisionString(); -bool IsNetworkCompatibleVersion(const char *other); +std::string_view GetNetworkRevisionString(); +bool IsNetworkCompatibleVersion(std::string_view other); void CheckGameCompatibility(NetworkGameInfo &ngi); void FillStaticNetworkServerGameInfo();