More tweaks to IPC fixes.

This commit is contained in:
Zuhayr
2015-12-03 22:56:19 -08:00
committed by NullSnapshot
parent 5561964204
commit fd59c3ad76
3 changed files with 10 additions and 20 deletions
-11
View File
@@ -40,17 +40,6 @@
#define ORGAN_MUTATED (1<<7)
#define ORGAN_ASSISTED (1<<8)
/*// Organ defines.
#define ORGAN_CUT_AWAY 1
#define ORGAN_BLEEDING 2
#define ORGAN_BROKEN 4
#define ORGAN_DESTROYED 8
#define ORGAN_ROBOT 16
#define ORGAN_SPLINTED 32
#define ORGAN_DEAD 64
#define ORGAN_MUTATED 128
#define ORGAN_ASSISTED 256*/
#define DROPLIMB_EDGE 0
#define DROPLIMB_BLUNT 1
#define DROPLIMB_BURN 2
+4 -4
View File
@@ -207,14 +207,14 @@
/obj/machinery/recharge_station/proc/go_in(var/mob/living/silicon/robot/R)
if(occupant)
return
if(istype(R, /mob/living/silicon/robot))
if(!istype(R))
return
if(occupant)
return
if(R.incapacitated())
return
if(!R.cell)
return
+6 -5
View File
@@ -189,14 +189,15 @@
//Sanitize
metadata = sanitize_text(metadata, initial(metadata))
if(species == "Machine")
real_name = sanitizeName(real_name,,1)
else
real_name = sanitizeName(real_name)
if(isnull(species) || !(species in playable_species))
species = "Human"
var/datum/species/cur_species = all_species[species]
if(istype(cur_species))
real_name = cur_species.sanitize_name(real_name)
else
real_name = sanitizeName(real_name)
if(isnum(underwear))
var/list/undies = gender == MALE ? underwear_m : underwear_f
underwear = undies[undies[underwear]]