diff options
| author | scatterflower <marisaposs@gameboyprinter.moe> | 2020-08-15 19:40:52 -0500 |
|---|---|---|
| committer | scatterflower <marisaposs@gameboyprinter.moe> | 2020-08-15 19:40:52 -0500 |
| commit | 8b44d4ae9599a90579c4fb974fab1704ace8d131 (patch) | |
| tree | 28f4d353d9c2de20780cb6acf7aec940168e91b4 | |
| parent | ec1c95bdb33dd063880c4cb6c3c9c3cf5d0ed454 (diff) | |
Only regenerate the area list once per ARUP packet
| -rw-r--r-- | include/courtroom.h | 1 | ||||
| -rw-r--r-- | src/packet_distribution.cpp | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/include/courtroom.h b/include/courtroom.h index 182c2a68..e7a51d37 100644 --- a/include/courtroom.h +++ b/include/courtroom.h @@ -109,7 +109,6 @@ public: if (arup_locks.size() > place) arup_locks[place] = value; } - list_areas(); } void character_loading_finished(); diff --git a/src/packet_distribution.cpp b/src/packet_distribution.cpp index b543cfb5..fd7453ee 100644 --- a/src/packet_distribution.cpp +++ b/src/packet_distribution.cpp @@ -676,6 +676,7 @@ void AOApplication::server_packet_received(AOPacket *p_packet) w_courtroom->arup_modify(arup_type, n_element - 1, f_contents.at(n_element)); } + w_courtroom->list_areas(); } } else if (header == "IL") { |
