mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2025-07-04 00:36:14 +00:00
Satisfy MSVC's weird attraction to using .string()
when its not necessary
I cannot bear another minute of msvc, i swear
This commit is contained in:
parent
60b86e2be6
commit
a4ff9488c5
@ -40,7 +40,7 @@ TLuaPlugin::TLuaPlugin(TLuaEngine& Engine, const TLuaPluginConfig& Config, const
|
||||
beammp_debug("Successfully read \"" + Entry.string() + "\" (" + std::to_string(NRead) + " Bytes)");
|
||||
mFileContents[fs::relative(Entry).string()] = Contents;
|
||||
// Execute first time
|
||||
auto Result = mEngine.EnqueueScript(mConfig.StateId, TLuaChunk(Contents, Entry, MainFolder));
|
||||
auto Result = mEngine.EnqueueScript(mConfig.StateId, TLuaChunk(Contents, Entry.string(), MainFolder));
|
||||
ResultsToCheck.emplace_back(Entry.string(), std::move(Result));
|
||||
} else {
|
||||
beammp_error("Error while reading script file \"" + Entry.string() + "\". Did the file change while reading?");
|
||||
|
Loading…
x
Reference in New Issue
Block a user