Port of https://github.com/tgstation/tgstation/pull/44207 and I copy pasted code and missed renaming one thing.