From 0c5f38544d577fbbdc9dd05cda8112b5f547dbbc Mon Sep 17 00:00:00 2001 From: Verkister Date: Fri, 4 Sep 2020 14:15:55 +0300 Subject: [PATCH] Fixes bomb simulator maths. The TTV explosion math had a fuckup causing it to calculate the explosions up to 1000 times the intended size. Fix for the actual bomb math PR'd upstream. --- code/game/machinery/bomb_tester_vr.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/machinery/bomb_tester_vr.dm b/code/game/machinery/bomb_tester_vr.dm index 826f632492b..fc3eb4d919e 100644 --- a/code/game/machinery/bomb_tester_vr.dm +++ b/code/game/machinery/bomb_tester_vr.dm @@ -237,7 +237,7 @@ pressure = faketank.return_pressure() var/strength = (pressure-TANK_FRAGMENT_PRESSURE)/TANK_FRAGMENT_SCALE - var/mult = ((faketank.volume/140)**(1/2)) * (faketank.total_moles**2/3)/((29*0.64) **2/3) //Don't ask me what this is, see tanks.dm + var/mult = ((faketank.volume/140)**(1/2)) * (faketank.total_moles**(2/3))/((29*0.64) **(2/3)) //Don't ask me what this is, see tanks.dm var/dev = round((mult*strength)*0.15) var/heavy = round((mult*strength)*0.35)