From 2d534b03867fb3401f7da4cae3f293f9d16e4287 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=9B=88=E1=9B=9F=E1=9A=B2=E1=9A=B2=E1=9B=96=E1=9B=8F?= =?UTF-8?q?=E1=9B=8B?= <55299415+Pockets-byte@users.noreply.github.com> Date: Sun, 8 Sep 2024 15:44:04 -0600 Subject: [PATCH] Fixes venting, maybe? Sus --- .../modules/munitions/ship_weapons/energy_weapons/phaser.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nsv13/code/modules/munitions/ship_weapons/energy_weapons/phaser.dm b/nsv13/code/modules/munitions/ship_weapons/energy_weapons/phaser.dm index afa30a59324..fa82f88b5db 100644 --- a/nsv13/code/modules/munitions/ship_weapons/energy_weapons/phaser.dm +++ b/nsv13/code/modules/munitions/ship_weapons/energy_weapons/phaser.dm @@ -280,7 +280,7 @@ if(heat <= max_heat-ventnumber) weapon_state = STATE_NOTHING return - heat = max(H*0.2,0) + heat = max(heat-(H+H*0.2),0) return if(heat >= max_heat) overload()