mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-16 05:02:18 +00:00
- Makes Topical reagents that have the "can_overdose_touch" variable set to true properly cause OD effects. https://i.imgur.com/JY5YVHW.png The bug was the code went: "Overdose amount? alright. OD volume high enough? Alright." which was good. And then it got to the last segment of the code. "Alright, so, this is in parenthesis. Is it not applied via touch (It is applied via touch, meaning this is false!) AND also set so that it doesn't have can_overdose_touch? (Chems that can cause OD via touch has this set to true, meaning this, also, returned false!)" By changing this && to a || and making it check if the reagent _does_ have the "can_overdose_touch" variable, it has fixed the bug.