Langserver fixes, vol 2 (#7401)

This commit is contained in:
Erki
2019-11-15 23:42:25 +02:00
committed by Werner
parent 444c0d5ea5
commit ff41b92e97
39 changed files with 100 additions and 159 deletions
@@ -978,7 +978,6 @@ var/global/list/obj/item/device/pda/PDAs = list()
/obj/item/device/pda/proc/remove_pen(mob/user)
if (!istype(user))
PROCLOG_WEIRD("user variable was insane, aborting!")
return
if (!has_pen)
to_chat(user, "<span class='notice'>[src] does not have a pen slot.</span>")
+2 -2
View File
@@ -26,8 +26,8 @@
use_message = capitalize(copytext(sanitize(new_message), 1, MAX_MESSAGE_LEN))
to_chat(usr, "You configure the hailer to shout \"[use_message]\".")
/
obj/item/device/hailer/attack_self(mob/living/carbon/user as mob)
/obj/item/device/hailer/attack_self(mob/living/carbon/user as mob)
if (spamcheck)
return
+1 -1
View File
@@ -89,7 +89,7 @@
if (istype(E, /datum/stack_recipe))
var/datum/stack_recipe/R = E
var/max_multiplier = round(src.get_amount() / R.req_amount)
var/title as text
var/title
var/can_build = 1
can_build = can_build && (max_multiplier>0)
if (R.res_amount>1)