mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2025-07-03 08:15:35 +00:00
Fix compile error
This commit is contained in:
parent
27b5c6d850
commit
908f67a799
@ -660,7 +660,7 @@ void TPluginMonitor::operator()() {
|
|||||||
auto CurrentTime = fs::last_write_time(Pair.first);
|
auto CurrentTime = fs::last_write_time(Pair.first);
|
||||||
if (CurrentTime != Pair.second) {
|
if (CurrentTime != Pair.second) {
|
||||||
mFileTimes[Pair.first] = CurrentTime;
|
mFileTimes[Pair.first] = CurrentTime;
|
||||||
if (fs::path(Pair.first)) {
|
if (fs::equivalent(fs::path(Pair.first), mPath / "Server")) {
|
||||||
beammp_info("File \"" + Pair.first + "\" changed, reloading");
|
beammp_info("File \"" + Pair.first + "\" changed, reloading");
|
||||||
// is in root folder, so reload
|
// is in root folder, so reload
|
||||||
std::ifstream FileStream(Pair.first, std::ios::in | std::ios::binary);
|
std::ifstream FileStream(Pair.first, std::ios::in | std::ios::binary);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user