Bugfixes: xeno loadout, vox mirror and worm crash (#3663)

-might fix #3660
- Fixes #3666
-fixes some issues with the mirror
-fixes worms crashing the server
-might fix ringers
This commit is contained in:
Alberyk
2017-10-15 21:04:16 +03:00
committed by Erki
parent 960a0a8988
commit 9696c7dd83
6 changed files with 9 additions and 13 deletions
@@ -64,7 +64,7 @@ var/list/gear_datums = list()
continue
if(G.whitelisted && preference_mob)
for(var/species in G.whitelisted)
if(is_alien_whitelisted(preference_mob, species))
if(is_alien_whitelisted(preference_mob, global.all_species[species]))
. += gear_name
break
else
@@ -205,12 +205,8 @@
asleep = 1
icon_state = "sarlacc_asleep"
sarlacc.deployed = 0
var/make_loot = loot_count
visible_message("<span class='danger'>With a contented heave, \the [src] slides into the earth and begins regurgitating several treasures before shutting tight.</span>")
while(make_loot)
for(var/turf/simulated/floor/F in orange(1,src))
new /obj/random/loot(F)
make_loot--
new/obj/random/loot(get_turf(src))
/mob/living/simple_animal/hostile/greatworm/FindTarget()
if(eating)