- Added a limit to broadcast messages. Messages will now cut off at 512.

- Facehuggers will now let you open the bag even if you're wearing facehugger proof gear.
 - Added some sanitizing to signal().

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5756 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
giacomand@gmail.com
2013-02-21 17:40:13 +00:00
parent 4341235bcc
commit a6bde92d6b
5 changed files with 25 additions and 12 deletions

View File

@@ -251,6 +251,7 @@ datum/signal
proc/signaler(var/freq = 1459, var/code = 30)
if(isnum(freq) && isnum(code))
var/obj/machinery/telecomms/server/S = data["server"]
@@ -266,6 +267,9 @@ datum/signal
freq = sanitize_frequency(freq)
code = round(code)
code = Clamp(code, 0, 100)
var/datum/signal/signal = new
signal.source = S
signal.encryption = code