Merge pull request #2917 from Anewbe/carp

Space carp have a chance to stick around after their events
This commit is contained in:
Anewbe
2017-01-15 18:16:54 -05:00
committed by GitHub
2 changed files with 39 additions and 2 deletions

View File

@@ -32,7 +32,7 @@
spawn_locations.Add(C.loc)
spawn_locations = shuffle(spawn_locations)
num_groups = min(num_groups, spawn_locations.len)
var/i = 1
while (i <= num_groups)
var/group_size = rand(group_size_min, group_size_max)
@@ -45,4 +45,5 @@
if(!C.stat)
var/turf/T = get_turf(C)
if(istype(T, /turf/space))
qdel(C)
if(!prob(25))
qdel(C)