Skip to content

Commit b26081f

Browse files
Update MapChange.js
1 parent 7c0bfc2 commit b26081f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

MapChange/1.8/MapChange.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -75,20 +75,20 @@ var MapChange = MapChange || (function() {
7575
// Get a reference to the state.
7676
var st = state.MapChange;
7777
// Check if the settings need updating from the global config.
78-
//if (gc && gc.lastsaved && gc.lastsaved > st.gcUpdated) {
78+
if (gc && gc.lastsaved && gc.lastsaved > st.gcUpdated) {
7979
// Get the last saved time.
8080
//st.gcUpdated = gc.lastsaved;
8181
// Get the debug setting from the global config.
82-
st.config.debug = gc['Debug Mode'] == 'true';
82+
st.config.debug = gc['Debug Mode'] == "true";
8383
// Get the gmNotify setting from the global config.
84-
st.config.gmNotify = gc['GM Notification'] == 'true';
84+
st.config.gmNotify = gc['GM Notification'] == "true";
8585
// Get the marker setting from the global config.
8686
st.config.marker = gc['Marker'] || "[GM]";
8787
// Get the hide marker setting from the global config.
8888
st.config.hideMarker = gc['Hide Marker'] || "[Hide]";
8989
// Get the invertedMarker setting from the global config.
90-
st.config.invertedMarker = gc['Inverted Marker'] == 'true';
91-
//}
90+
st.config.invertedMarker = gc['Inverted Marker'] == "true";
91+
}
9292
// Debug
9393
if (st.config.debug) {
9494
log("Global Config");

0 commit comments

Comments
 (0)