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

@@ -22,6 +22,9 @@ public:
Script_FatalError(const std::string &msg) :
msg(msg)
{}
Script_FatalError(std::string &&msg) :
msg(std::move(msg))
{}
/**
* The error message associated with the fatal error.