Fix multiple instances of to_chat not being used

This commit is contained in:
Tigercat2000
2016-04-23 20:45:37 -07:00
parent 514d165ad2
commit 57648bd6b7
6 changed files with 8 additions and 8 deletions
@@ -36,7 +36,7 @@
if(!map)
return
if(copytext("[map]",-4) != ".dmm")
usr << "Bad map file: [map]"
to_chat(usr, "Bad map file: [map]")
return
var/datum/map_template/M = new(map=map, rename="[map]")
+2 -2
View File
@@ -293,7 +293,7 @@
/obj/item/weapon/reagent_containers/food/snacks/grown/attack(var/mob/living/carbon/M, var/mob/user, var/def_zone)
if(awakening)
user << "<span class='warning'>The [src] is twitching and shaking, preventing you from eating it.</span>"
to_chat(user, "<span class='warning'>The [src] is twitching and shaking, preventing you from eating it.</span>")
return
if(user == M)
return ..()
@@ -451,7 +451,7 @@
if("killertomato")
if(awakening || istype(user.loc,/turf/space))
return
user << "<span class='notice'>You begin to awaken the Killer Tomato...</span>"
to_chat(user, "<span class='notice'>You begin to awaken the Killer Tomato...</span>")
awakening = 1
spawn(30)
+1 -1
View File
@@ -761,7 +761,7 @@ var/list/ventcrawl_machinery = list(/obj/machinery/atmospherics/unary/vent_pump,
buckled.user_unbuckle_mob(src,src)
else
if(src && buckled)
src << "<span class='warning'>You fail to unbuckle yourself!</span>"
to_chat(src, "<span class='warning'>You fail to unbuckle yourself!</span>")
else
buckled.user_unbuckle_mob(src,src)
+1 -1
View File
@@ -99,6 +99,6 @@
if(!istype(pAI))
return 0
if(!pAI.software["messenger"])
usr << "<span class='warning'>You have not purchased the digital messenger!</span>"
to_chat(usr, "<span class='warning'>You have not purchased the digital messenger!</span>")
return 0
return ..() && !pAI.silence_time