First effort fix of the slimes integration with taur riding.

This commit is contained in:
Leshana
2018-04-22 15:24:48 -04:00
parent a8c684a99f
commit 2a4182cc8e
3 changed files with 17 additions and 11 deletions

View File

@@ -36,7 +36,7 @@
targets |= hash
//Grab any viruses they have
if(LAZYLEN(target.virus2.len))
if(iscarbon(target) && LAZYLEN(target.virus2.len))
LAZYINITLIST(viruses)
var/datum/disease2/disease/virus = pick(target.virus2.len)
viruses[hash] = virus.getcopy()