Files
Bubberstation/code/controllers/admin.dm
MichiRecRoom e725c98a27 Fix the "Debug Controller" verb (#89301)
## About The Pull Request
The "Debug Controller" verb wasn't doing anything. You'd click on it,
and nothing would happen.

Turns out, it was searching for controllers in the wrong place -
controllers are considered globals, not part of `/world`.

This PR fixes that. Now you get this fancy box instead of nothing:


![image](https://github.com/user-attachments/assets/af4d76d2-0ad4-4549-8606-8b423762c700)

(As an aside - choosing the Global Variables controller causes several
seconds of lag, due to the mass amount of data that needs to be
rendered. Perhaps a new verb should be added specifically for going
through Global Variables?)


## Why It's Good For The Game
Enables coders to debug the various controllers with less need for debug
printing statements.

## Why It's Terrible For The Game
Enables admins with debug permission to abuse the live server even
harder.

## Changelog
No player-facing changes. This regards a verb that should only be used
during debugging (i.e. locally).
2025-02-02 17:09:46 +01:00

2.5 KiB