Skip to content

Commit

Permalink
include script id in json dump
Browse files Browse the repository at this point in the history
  • Loading branch information
black-sliver committed Mar 8, 2024
1 parent be19d82 commit 0b8618b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions list-rooms.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3113,13 +3113,15 @@ for (auto a: {0xb1e000,0x95c50d,0x95cfaa,0x95cb9a,0x9895c8,0x97cdc3}) {
" \"y2\": %hhu,\n"
" \"item\": %hu,\n"
" \"address\": %hu,\n"
" \"bit\": %hhu\n"
" \"bit\": %hhu,\n"
" \"script\": %u\n"
"}",
sniff.mapid,
sniff.x1, sniff.x2, sniff.y1, sniff.y2,
sniff.item,
sniff.check_flag.first,
sniff.check_flag.second
sniff.check_flag.second,
sniff.scriptid
);
first = false;
last_map_id = sniff.mapid;
Expand Down

0 comments on commit 0b8618b

Please sign in to comment.