Skip to content

Commit

Permalink
[7.5.2]Fix for random behavior when swapping plugin.txt:
Browse files Browse the repository at this point in the history
Should close for good wrye-bash/wrye-bash#195
  • Loading branch information
Utumno committed Jul 15, 2015
1 parent c191f50 commit d40f825
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/api/libloadorder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ using namespace liblo;

const unsigned int LIBLO_VERSION_MAJOR = 7;
const unsigned int LIBLO_VERSION_MINOR = 5;
const unsigned int LIBLO_VERSION_PATCH = 1;
const unsigned int LIBLO_VERSION_PATCH = 2;

/* Returns whether this version of libloadorder is compatible with the given
version of libloadorder. */
Expand Down
2 changes: 1 addition & 1 deletion src/backend/plugins.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,7 @@ namespace liblo {

try {
return (fs::exists(parentGame.ActivePluginsFile())) &&
(fs::last_write_time(parentGame.ActivePluginsFile()) > mtime);
(fs::last_write_time(parentGame.ActivePluginsFile()) != mtime);
}
catch (fs::filesystem_error& e) {
throw error(LIBLO_ERROR_TIMESTAMP_READ_FAIL, e.what());
Expand Down

1 comment on commit d40f825

@Utumno
Copy link
Owner Author

@Utumno Utumno commented on d40f825 Nov 23, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Upstream: Ortham#25

Please sign in to comment.