Merge remote-tracking branch 'origin/master' into tim/metaserver
This commit is contained in:
commit
8cd26ee2b9
1 changed files with 2 additions and 1 deletions
|
@ -218,7 +218,8 @@ int LuaLoadFile(const std::string &file, const std::string &strArg)
|
|||
return -1;
|
||||
}
|
||||
if (file.rfind("stratagus.lua") != -1 && file.find("scripts/") != -1) {
|
||||
// First, remove '\r' characters from the input. These are added, for example, by Windows Git, and should be ignored
|
||||
// First, remove '\r' characters from the input. These are
|
||||
// added, for example, by Windows Git, and should be ignored
|
||||
content.erase(std::remove(content.begin(), content.end(), '\r'), content.end());
|
||||
FileChecksums ^= fletcher32(content);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue