Clear clock when switching worlds
This commit is contained in:
parent
94b7bb9849
commit
ab17d12929
@ -418,6 +418,9 @@ export const mutations: MutationTree<State> & Mutations = {
|
||||
state.markerSets.clear();
|
||||
state.pendingMarkerUpdates.splice(0);
|
||||
state.pendingTileUpdates.splice(0);
|
||||
state.currentWorldState.timeOfDay = undefined;
|
||||
state.currentWorldState.raining = false;
|
||||
state.currentWorldState.thundering = false;
|
||||
|
||||
// Cancel follow when switching to a different world
|
||||
if(state.followTarget && state.followTarget.location.world !== newWorld!.name) {
|
||||
|
Loading…
Reference in New Issue
Block a user