forked from tgstation/tgstation
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimizes /obj/New() by removing access generation
Previously, every single /obj would parse the req_access_txt and req_one_access_txt strings when it was created, and turn them into a list of numbers for the access system. This is now done the first time check_access() is called, so only objects that actually use the system will have the lists generated. Signed-off-by: Mloc-Argent <[email protected]>
- Loading branch information
Showing
1 changed file
with
18 additions
and
25 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