forked from Meridian59/Meridian59
-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix room deletion bug, add rooms table printing cmd.
If the room being deleted wasn't first in the list, the previous rooms in the list occupying that position in the rooms table were no longer being referenced (only rooms past the deleted one). Specifically, deleting rented rooms after a recreate dropped references to the other room occupying that position in the table, which due to the order of room loading tended to be around the kc1-kd4 area. This case is now handled correctly. Added an admin "show roomtable" command which prints the rooms table to admin log, and allowed this issue to be debugged.
- Loading branch information
Showing
3 changed files
with
77 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters