Update forcefieldprojector.dm

This commit is contained in:
kevinz000
2019-03-20 21:41:05 -07:00
committed by GitHub
parent bd86f659c9
commit f9aa4f8f82
@@ -34,8 +34,8 @@
if(LAZYLEN(current_fields) >= max_fields)
to_chat(user, "<span class='notice'>[src] cannot sustain any more forcefields!</span>")
return
var/obj/structure/projected_forcefield/F = locate() in T
if(F)
var/obj/structure/projected_forcefield/same = locate() in T
if(same)
to_chat(user, "<span class='notice'>There is already a forcefield on [T]!</span>")
return