Script: Only log each string parameter warning message once

This commit is contained in:
Jonathan G Rennison
2023-03-27 20:14:49 +01:00
parent ce5c758f2b
commit 29c451d1a8
8 changed files with 38 additions and 4 deletions

View File

@@ -304,6 +304,10 @@ protected:
*/
static char *GetString(StringID string);
static bool IsNewUniqueLogMessage(const std::string &msg);
static void RegisterUniqueLogMessage(std::string &&msg);
private:
/**
* Store a new_vehicle_id per company.