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:
Albert Iordache
2012-03-29 23:45:48 +03:00
parent 382582ca18
commit 159fd0bfc9
4 changed files with 25 additions and 18 deletions
+2 -2
View File
@@ -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