layData beta
Function of @v12-engine/engine
ts
export declare function layData(game: Rules, file: unknown): Rules;The game with what its data.json says over what its code says: export default layData(game, dataFile). Only the fields the game lets be changed (Rules.editable) are taken, and of the kind each holds; anything else in the file is left out, and said in the log. The game given is not changed