VS: Sometimes you use syringes on other things

This commit is contained in:
Arokha Sieyes
2018-03-17 21:44:13 -04:00
parent 54d06dbef0
commit 00a4466dc3
@@ -29,7 +29,8 @@
LAZYINITLIST(targets)
//We can't keep a mob reference, that's a bad idea, so instead name+ref should suffice.
var/hash = md5(target.real_name + "\ref[target]")
var/name_to_use = ismob(target) ? target.real_name : target.name
var/hash = md5(name_to_use + "\ref[target]")
//Just once!
targets |= hash