diff --git a/code/game/atoms.dm b/code/game/atoms.dm index 99b56c346e0..f8001dbdc2b 100644 --- a/code/game/atoms.dm +++ b/code/game/atoms.dm @@ -550,8 +550,16 @@ its easier to just keep the beam vertical. /atom/Click(location,control,params) //world << "atom.Click() on [src] by [usr] : src.type is [src.type]" - if(!istype(src,/obj/item/weapon/gun)) + var/acting_bad = 1 //Check for gun targeting code. + if (istype(src,/obj/item/weapon/gun)) //Allow people to lower weapon + acting_bad = 0 + if (istype(src, /turf) && istype(usr,/mob/living/carbon/human)) //Allow people to turn around + var/mob/living/carbon/human/H = usr + if (!H.equipped()) + acting_bad = 0 + if(acting_bad) usr.last_target_click = world.time + if(usr.client.buildmode) build_click(usr, usr.client.buildmode, location, control, params, src) return diff --git a/code/modules/projectiles/targeting.dm b/code/modules/projectiles/targeting.dm index a2aaa9dc163..6507a2f66a1 100644 --- a/code/modules/projectiles/targeting.dm +++ b/code/modules/projectiles/targeting.dm @@ -163,7 +163,7 @@ mob/living/proc/Targeted(var/obj/item/weapon/gun/I) //Self explanitory. targeted_by += I I.lock_time = world.time + 20 //Target has 2 second to realize they're targeted and stop (or target the opponent). src << "((\red Your character is being targeted. They have 2 seconds to stop any click or move actions. \black While targeted, they may \ - drag and drop items in or into the map, speak, and click on interface buttons. Clicking on the map, their items \ + drag and drop items in or into the map, speak, and click on interface buttons. Clicking on the map objects (floors and walls are fine), their items \ (other than a weapon to de-target), or moving will result in being fired upon. \red The aggressor may also fire manually, \ so try not to get on their bad side.\black ))"