[Room] Fix setState
This commit is contained in:
parent
0ca36473fa
commit
ccb1945d00
|
@ -217,7 +217,7 @@ class Room {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ((getState(state.typeKey)?.time?.millisecondsSinceEpoch ?? 0) >
|
if ((getState(state.typeKey)?.time?.millisecondsSinceEpoch ?? 0) >
|
||||||
state.time.millisecondsSinceEpoch) {
|
(state.time?.millisecondsSinceEpoch ?? 1)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!states.states.containsKey(state.typeKey)) {
|
if (!states.states.containsKey(state.typeKey)) {
|
||||||
|
|
Loading…
Reference in a new issue