diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-05-18 15:34:45 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2024-05-18 15:34:45 -0400 |
commit | 71124d81e8a254360c12d3c9a2a687c77b864132 (patch) | |
tree | 332053c696b4c5398d174aa073717f4ddaf6c2ac /src/tracker_state.cpp | |
parent | a2b67cf27dbd41bcfa75835e36c605adfc040e40 (diff) | |
download | lingo-ap-tracker-71124d81e8a254360c12d3c9a2a687c77b864132.tar.gz lingo-ap-tracker-71124d81e8a254360c12d3c9a2a687c77b864132.tar.bz2 lingo-ap-tracker-71124d81e8a254360c12d3c9a2a687c77b864132.zip |
Don't crash on subway map before connection
Diffstat (limited to 'src/tracker_state.cpp')
-rw-r--r-- | src/tracker_state.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tracker_state.cpp b/src/tracker_state.cpp index ccb3fbd..869f837 100644 --- a/src/tracker_state.cpp +++ b/src/tracker_state.cpp | |||
@@ -601,5 +601,5 @@ bool IsDoorOpen(int door_id) { | |||
601 | const std::map<std::string, bool>& GetDoorRequirements(int door_id) { | 601 | const std::map<std::string, bool>& GetDoorRequirements(int door_id) { |
602 | std::lock_guard reachability_guard(GetState().reachability_mutex); | 602 | std::lock_guard reachability_guard(GetState().reachability_mutex); |
603 | 603 | ||
604 | return GetState().door_reports.at(door_id); | 604 | return GetState().door_reports[door_id]; |
605 | } | 605 | } |