ParadiseSS13 / Paradise

Paradise Station's GitHub main repository.
https://www.paradisestation.org/forum
GNU Affero General Public License v3.0
407 stars 1.21k forks source link

Fixes particle beam and singularity inconsistent interactions #27415

Closed Migratingcocofruit closed 3 days ago

Migratingcocofruit commented 5 days ago

What Does This PR Do

Fixes inconsistent behaviour between accelerated particles from the PA and the singularity. Sometimes the particles would be bumped by the singularity and be destroyed(they called obj/effect/singularity_act()) and other time the particles would bump the singularity twice which would impart the energy twice.

This PR overrides singularity_act() on the accelerated particle effect so it just returns 0, and reduces the energy to 0 once the particles give the singularity energy.

Why It's Good For The Game

Inconsistent behaviour is bad.

Images of changes

Testing


Declaration

Changelog

:cl: fix: Accelerated particles now always give the singularity energy and only do so once. /:cl: