mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 21:48:21 +01:00
Refactors preparePixelProjectile (#25567)
* preparePixelProjectile now just takes a target and source atom as parameters * remove commented out code * ahem * hopefully fixes null target nonsense in colossus * those who cannot remember the past are condemned to repeat It * i just woke up in a cold sweat at 5am in realization * reverts back to client-view based firing if source is a mob
This commit is contained in:
@@ -119,7 +119,8 @@
|
||||
for(var/t in trophies)
|
||||
var/obj/item/crusher_trophy/T = t
|
||||
T.on_projectile_fire(D, user)
|
||||
D.preparePixelProjectile(target, get_turf(target), user, clickparams)
|
||||
var/modifiers = params2list(clickparams)
|
||||
D.preparePixelProjectile(target, user, modifiers)
|
||||
D.firer = user
|
||||
D.firer_source_atom = src
|
||||
D.hammer_synced = src
|
||||
|
||||
Reference in New Issue
Block a user