h1emu-zone2json
Advanced tools
Comparing version
{ | ||
"name": "h1emu-zone2json", | ||
"description": "Read and write .zone files for h1emu.", | ||
"version": "1.3.2", | ||
"version": "1.3.3", | ||
"main": "./out/zone.js", | ||
@@ -6,0 +6,0 @@ "author": "Quentin Gruber", |
@@ -425,3 +425,3 @@ import DataSchema from "h1z1-dataschema"; | ||
// write data | ||
const { version } = zone; | ||
const version = zone.version ?? zone.header.version; | ||
switch (version) { | ||
@@ -428,0 +428,0 @@ case 0x00000001: //PS2 |
23502
0.12%