mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 11:13:16 +00:00
Fix for possible runtimes in say.dm
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3402 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -133,8 +133,8 @@
|
|||||||
//world << "channel_prefix=[channel_prefix]; message_mode=[message_mode]"
|
//world << "channel_prefix=[channel_prefix]; message_mode=[message_mode]"
|
||||||
if (message_mode)
|
if (message_mode)
|
||||||
message = trim(copytext(message, 3))
|
message = trim(copytext(message, 3))
|
||||||
//if (!ishuman(src) && (message_mode=="department" || (message_mode in radiochannels)))
|
if (!(ishuman(src) || istype(src, /mob/living/simple_animal)) && (message_mode=="department" || (message_mode in radiochannels)))
|
||||||
// message_mode = null //only humans can use headsets
|
message_mode = null //only humans can use headsets
|
||||||
// Check removed so parrots can use headsets!
|
// Check removed so parrots can use headsets!
|
||||||
|
|
||||||
if (!message)
|
if (!message)
|
||||||
|
|||||||
@@ -50,6 +50,8 @@
|
|||||||
var/wall_smash = 0 //if they can smash walls
|
var/wall_smash = 0 //if they can smash walls
|
||||||
|
|
||||||
var/speed = 0 //LETS SEE IF I CAN SET SPEEDS FOR SIMPLE MOBS WITHOUT DESTROYING EVERYTHING. Higher speed is slower, negative speed is faster
|
var/speed = 0 //LETS SEE IF I CAN SET SPEEDS FOR SIMPLE MOBS WITHOUT DESTROYING EVERYTHING. Higher speed is slower, negative speed is faster
|
||||||
|
|
||||||
|
var/obj/item/device/radio/headset/ears = null
|
||||||
/mob/living/simple_animal/New()
|
/mob/living/simple_animal/New()
|
||||||
..()
|
..()
|
||||||
verbs -= /mob/verb/observe
|
verbs -= /mob/verb/observe
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
response_disarm = "gently moves aside the"
|
response_disarm = "gently moves aside the"
|
||||||
response_harm = "swats the"
|
response_harm = "swats the"
|
||||||
|
|
||||||
var/obj/item/device/radio/headset/ears = new /obj/item/device/radio/headset/heads/ce()
|
ears = new /obj/item/device/radio/headset/heads/ce()
|
||||||
|
|
||||||
/mob/living/simple_animal/parrot/DrProfessor
|
/mob/living/simple_animal/parrot/DrProfessor
|
||||||
name = "Doctor Professor Parrot, PhD"
|
name = "Doctor Professor Parrot, PhD"
|
||||||
|
|||||||
Reference in New Issue
Block a user