mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 02:16:05 +00:00
Fixes division by zero (#26181)
This commit is contained in:
@@ -248,6 +248,8 @@
|
|||||||
if(chefcount > 2)
|
if(chefcount > 2)
|
||||||
episode_names += new /datum/episode_name/rare("Too Many Cooks", "There were [chefcount] chefs on the shuttle.", min(1500, chefcount*450)) //intentionally not capitalized, as the theme will customize it
|
episode_names += new /datum/episode_name/rare("Too Many Cooks", "There were [chefcount] chefs on the shuttle.", min(1500, chefcount*450)) //intentionally not capitalized, as the theme will customize it
|
||||||
theme = "cooks"
|
theme = "cooks"
|
||||||
|
|
||||||
|
if(human_escapees.len)
|
||||||
if(assistantcount / human_escapees.len > 0.6 && human_escapees.len > 3)
|
if(assistantcount / human_escapees.len > 0.6 && human_escapees.len > 3)
|
||||||
episode_names += new /datum/episode_name/rare("[pick("GREY GOO", "RISE OF THE GREYTIDE")]", "Most of the survivors were Assistants, or at least dressed like one.", min(1500, assistantcount*200))
|
episode_names += new /datum/episode_name/rare("[pick("GREY GOO", "RISE OF THE GREYTIDE")]", "Most of the survivors were Assistants, or at least dressed like one.", min(1500, assistantcount*200))
|
||||||
if(skeletoncount / human_escapees.len > 0.6 && human_escapees.len > 3)
|
if(skeletoncount / human_escapees.len > 0.6 && human_escapees.len > 3)
|
||||||
|
|||||||
Reference in New Issue
Block a user