From 7bb60725bbf7de120a812fa314bf2287d99db16c Mon Sep 17 00:00:00 2001 From: Jack Edge Date: Tue, 10 May 2016 12:09:29 +0100 Subject: [PATCH] Fixes #17497 Drones now have numbers by default unless specified otherwise. --- code/modules/mob/living/simple_animal/friendly/drone/_drone.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/modules/mob/living/simple_animal/friendly/drone/_drone.dm b/code/modules/mob/living/simple_animal/friendly/drone/_drone.dm index 951868c61ca..953fd85291a 100644 --- a/code/modules/mob/living/simple_animal/friendly/drone/_drone.dm +++ b/code/modules/mob/living/simple_animal/friendly/drone/_drone.dm @@ -62,10 +62,11 @@ var/visualAppearence = MAINTDRONE //What we appear as var/hacked = 0 //If we have laws to destroy the station var/datum/personal_crafting/handcrafting + var/has_number = TRUE /mob/living/simple_animal/drone/New() ..() - if(name != initial(name)) + if(has_number) name = name + " ([rand(100,999)])" real_name = name