Merge branch 'lang/ecs' into lang/leaks2

This commit is contained in:
Orkun ÇAKILKAYA 2026-09-28 15:45:28 +03:00
commit 21b828fe5c
4 changed files with 46 additions and 3 deletions

View file

@ -17,7 +17,8 @@ export function telemetry_set_id(telemetry_st: mut TelemetryState, id: string) -
var v = telemetry__read_obj(path)
if v == null { v = Value.object() }
Value.put(v, "id", Value.str(id))
Fs.write_text(path, Json.encode(v))
Json.write_file(v, path)
Json.free(v)
}
telemetry__fact(telemetry_st, TELEMETRY_ID, 0, 0, 0)
}