[m] Fix clear

This commit is contained in:
soraefir 2024-04-03 08:42:28 +02:00
parent 822a46236d
commit ce2055ee97
Signed by: sora
GPG Key ID: A362EA0491E2EEA0

View File

@ -12,7 +12,7 @@ import java.io.InputStream
class Visits(val id: Int, private val locs: HashMap<String, Int>) {
fun setVisited(key: GeoLoc?, b: Int) {
if (b == 0 || key == null)
if (key == null)
return
locs[key.code] = b
}