mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-25 14:00:18 +01:00
* Please describe the intent of your changes in a clear fashion. The `check_tremor_surgery` proc in `psiblock_drugs.dm` was registered to the `COMSIG_GET_SURGERY_SUCCESS_MODIFIERS` signal with an incorrect signature. It was missing the `target` mob parameter, causing the `success_rate` argument to incorrectly receive the `target` mob instead of the `&success_rate` reference. This led to a "bad pointer" error when attempting to dereference `*success_rate` on a mob object. This PR updates the `check_tremor_surgery` proc signature to `(mob/living/user, mob/living/target, success_rate, duration)`, aligning it with the signal's expected arguments and other similar handlers. This ensures `success_rate` correctly receives the pointer reference, resolving the bad pointer error. * Please make sure that, in the case of mapping changes, you include images of these changes in the PR's description. * Please make sure to mark your PR as wip or review required by making a comment with !wip or !review required * If you include sprites/sounds/... (assets) that you have not created yourself specify the license and original author below. * Ensure that you also credit them in the appropriate location / changelog as specified in the contributor guidelines ### Asset Licenses The following assets that **have not** been created by myself are included in this PR: | Path | Original Author | License | | --- | --- | --- | | icons/example.dmi | ExamplePerson (Example Station) | CC0 | Fixes [SERVER-PROD-2G4](https://aurorastation.sentry.io/issues/7636195708/?seerDrawer=true) --------- Co-authored-by: VMSolidus <evilexecutive@gmail.com>