From c82686f46f7c647aab402882de8403cfda5fe8c8 Mon Sep 17 00:00:00 2001 From: necromanceranne <40847847+necromanceranne@users.noreply.github.com> Date: Sat, 3 May 2025 21:47:06 +1000 Subject: [PATCH] Weapons that cannot fit into turrets also cannot fit into emitters. (#90960) ## About The Pull Request fixes https://github.com/tgstation/tgstation/issues/90260 Weapons that cannot fit into turrets can not fit into emitters. This only affects the dueling pistol as of writing. ## Why It's Good For The Game Sorry everyone, this is TOO fun, we have to turn it around. ## Changelog :cl: fix: Weapons that cannot fit into turrets also cannot fit into emitters. /:cl: --- code/modules/power/singularity/emitter.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/modules/power/singularity/emitter.dm b/code/modules/power/singularity/emitter.dm index c6f9769a9bf..51583d1ec0a 100644 --- a/code/modules/power/singularity/emitter.dm +++ b/code/modules/power/singularity/emitter.dm @@ -354,6 +354,9 @@ return if(!user.transferItemToLoc(energy_gun, src)) return + if(energy_gun.gun_flags & TURRET_INCOMPATIBLE) + user.balloon_alert(user, "[energy_gun] won't fit!") + return gun = energy_gun gun_properties = gun.get_turret_properties() set_projectile()