mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-28 06:27:26 +01:00
Fixed a runtime error related to the group_multiplier of an air mixture being 0
In certain cases, zones would be emptied completely of turfs, thereby causing division by zero errors in FEA due to operations involving group_multiplier.
This commit is contained in:
@@ -41,13 +41,13 @@ datum
|
||||
|
||||
temperature = 0 //in Kelvin, use calculate_temperature() to modify
|
||||
|
||||
var/group_multiplier = 1
|
||||
group_multiplier = 1
|
||||
//Size of the group this gas_mixture is representing.
|
||||
//=1 for singletons
|
||||
|
||||
graphic
|
||||
|
||||
var/list/datum/gas/trace_gases = list()
|
||||
list/datum/gas/trace_gases = list()
|
||||
|
||||
tmp
|
||||
oxygen_archived
|
||||
|
||||
Reference in New Issue
Block a user