Fix equal oparator
This commit is contained in:
parent
ad236d6e6a
commit
16cca15872
@ -159,7 +159,7 @@ function Game() {
|
||||
if (mapDrawActions) {
|
||||
peer.connection.send({ id: "mapDraw", data: mapDrawActions });
|
||||
}
|
||||
if (mapDrawActionIndex != mapDrawActions.length - 1) {
|
||||
if (mapDrawActionIndex !== mapDrawActions.length - 1) {
|
||||
peer.connection.send({ id: "mapDrawIndex", data: mapDrawActionIndex });
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user