Restored the limit on long-range holopads needing line-of-sight to their target and a max range of 4 overmap turfs.

This commit is contained in:
mikomyazaki
2022-02-11 17:47:45 +00:00
parent 30d9d8f82e
commit df0f9c337b

View File

@@ -412,6 +412,8 @@ For the other part of the code, check silicon say.dm. Particularly robot talk.*/
if(current_map.use_overmap)
if(!linked || !HP.linked)
return FALSE
if(!(HP.linked in view(4, linked)))
return FALSE
return TRUE
/obj/machinery/hologram/holopad/long_range/has_command_auth(var/mob/user)