On second thought, making it usable at more than 1 tile away is a bad idea in terms of balance

This commit is contained in:
d3athrow
2013-09-24 16:58:23 -05:00
parent 3fd5c4acd9
commit 714b3d89e2
2 changed files with 3 additions and 2 deletions

View File

@@ -1336,9 +1336,10 @@ var/using_new_click_proc = 0 //TODO ERRORAGE (This is temporary, while the DblCl
usr.listed_turf = null
else
usr.listed_turf = src
if(usr.client)
if(usr.client && !(get_dist(src,usr) > 1))
usr.client.statpanel = "[src.name]"
/atom/proc/AIShiftClick() // Opens and closes doors!
if(istype(src , /obj/machinery/door/airlock))
if(src:density)

View File

@@ -1175,7 +1175,7 @@ note dizziness decrements automatically in the mob's Life() proc.
statpanel("Spells","[S.holder_var_type] [S.holder_var_amount]",S)
if(listed_turf)
if(get_dist(listed_turf,src) > 4)
if(get_dist(listed_turf,src) > 1)
listed_turf = null
else
statpanel(listed_turf.name,listed_turf.name,listed_turf)