mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-15 07:24:52 +09:00
Use strict equality checking
Remove usage of == and != in favour of === and !==.
This commit is contained in:
1 parent
ee81fbb7f6
commit
a84f2d5eb6
13 files changed
+29
-21
No files matched your search
@@ -118,7 +118,7 @@ class MasterPlugin extends plugin.BaseMasterPlugin {
|
||||
this.technologies.set(name, { level, progress, researched });
|
||||
if (progress) {
|
||||
this.progressToBroadcast.add(name);
|
||||
} else if (researched || baseLevel(name) != level) {
|
||||
} else if (researched || baseLevel(name) !== level) {
|
||||
this.broadcastEventToSlaves(this.info.messages.finished, { name, level });
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user