Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix for varediting bitflags. (cmss13-devs#2735)
<!-- Write **BELOW** The Headers and **ABOVE** The comments else it may not be viewable. --> # About the pull request I am honestly at a loss as to what is happening here. I do not speak HTML all too well, and at cursory reading buttons _should_ be returning their value, which is `1`, `2` and so on. But on debugging, they actually return their text (`Save`, `Cancel`), which does not proceed to work with the code receiving it. Changed that code accordingly, and then edited the values for good measure in case somebody better versed in HTML would get a heart attack from my folly. Also, this looks ugly to me. Which button is which flag here? ![image](https://user-images.githubusercontent.com/4447185/221438285-cdb380c2-a871-4620-be04-0b3c5027501f.png) This, in my humble opinion, is easier to read (would actually look better outside of local server messing fancy windows as is its wont): ![image](https://user-images.githubusercontent.com/4447185/221438302-660c5976-d0e2-44fa-a18a-9f73a229f2c4.png) In the process, I confess, my HTML illiteracy broke a little something again. But we are not actually _using_ `slidecolor`, so hopefully it is not actually important. # Explain why it's good for the game Is fix. # Testing Photographs and Procedure See above. # Changelog <!-- If your PR modifies aspects of the game that can be concretely observed by players or admins you should add a changelog. If your change does NOT meet this description, remove this section. Be sure to properly mark your PRs to prevent unnecessary GBP loss. Please note that maintainers freely reserve the right to remove and add tags should they deem it appropriate. You can attempt to finagle the system all you want, but it's best to shoot for clear communication right off the bat. --> <!-- If you add a name after the ':cl', that name will be used in the changelog. You must add your CKEY after the CL if your GitHub name doesn't match. Be sure to properly mark your PRs to prevent unnecessary GBP loss. Maintainers freely reserve the right to remove and add tags should they deem it appropriate. --> :cl: admin: Editing bitflag variables actually works now. /:cl: <!-- Both :cl:'s are required for the changelog to work! -->
- Loading branch information