-
-
Notifications
You must be signed in to change notification settings - Fork 171
Closed
Description
Which resource(s) have this problem?
admin
Describe the bug
admin_definitions.lua is not in the meta.xml and is therefore never loaded. Now currently the admin resource seems to only have minor issues without it, but having the file around but not loading it causes confusion. For instance #440 didn't properly fix #373, because it assumed the file was loaded.
It should therefore be decided whether the file can be safely removed (I think it's only essential in the admin2 resource) or implemented properly. At the very least the ADMIN_CHAT_MAXLENGTH global variable needs to be set elsewhere if the file is deemed redundant.
To Reproduce
- start admin
- see debug warning relating to ADMIN_CHAT_MAXLENGTH being nil
- find out it makes sense because the file which defines it is never loaded
Version
Client/Server 1.6
admin 1.5.9 (latest at the time of post despite version discrepancy)
Dutchman101