Files
Bubberstation/code/modules/antagonists
SkyratBot 1dd319d56a [MIRROR] Fix runtime in shade transformation when done via russian revolver (#835)
* Fix runtime in shade transformation when done via russian revolver (#53739)

/obj/item/gun/ballistic/revolver/russian/proc/shoot_self starts a transfer_soul chain with a null user, because it's the target who inflicted it on themselves. There is no user.

Later on in when we init the shade, we attempt to copy the "master"/user's language to the shade too.

No user, classic runtime.

Moving the user language transfer behind a conditional check addresses this oversight.

* Fix runtime in shade transformation when done via russian revolver

Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
2020-09-17 02:06:24 +01:00
..