Cleans up some redundant stripped_input usage

This commit is contained in:
oranges
2018-01-17 09:32:00 +13:00
committed by CitadelStationBot
parent d2d1a063a7
commit ebfc1c3d9c
7 changed files with 468 additions and 9 deletions
+1 -1
View File
@@ -584,7 +584,7 @@ GLOBAL_LIST_EMPTY(PDAs)
update_icon()
/obj/item/device/pda/proc/msg_input(mob/living/U = usr)
var/t = stripped_input(U, "Please enter message", name, null, MAX_MESSAGE_LEN)
var/t = stripped_input(U, "Please enter message", name)
if (!t || toff)
return
if (!in_range(src, U) && loc != U)