Merge pull request #39080 from 81Denton/machine-frame-tesla

Blacklists machine frames from tesla zaps
This commit is contained in:
Jordan Brown
2018-07-13 18:22:34 -04:00
committed by yogstation13-bot
parent c17aa9d033
commit c394b64a14

View File

@@ -193,7 +193,8 @@
/obj/machinery/gateway,
/obj/structure/lattice,
/obj/structure/grille,
/obj/machinery/the_singularitygen/tesla))
/obj/machinery/the_singularitygen/tesla,
/obj/structure/frame/machine))
for(var/A in typecache_filter_multi_list_exclusion(oview(source, zap_range+2), things_to_shock, blacklisted_tesla_types))
if(!(tesla_flags & TESLA_ALLOW_DUPLICATES) && LAZYACCESS(shocked_targets, A))