saveDifference beta
Function of @v12-engine/engine
ts
export declare function saveDifference(a: WorldSave, b: WorldSave, registry?: Registry): Difference | undefined;Where two saves of a game first differ, as checkDeterminism looks (what decides first: the tick, the random state, the players, the entities): the path to it (entities[id 11].pos.x) and what each holds there, or nothing when they are the same. What the screens remember of the map, and the hash of the rules they were made with, are left out; with the game's registry, so are components that hold what they are made with (a screen asking for one makes it). What a replay that came apart says at its checkpoints (runReplay), and v12 save diff