dont need this anymore
This commit is contained in:
@@ -665,7 +665,7 @@ SUBSYSTEM_DEF(job)
|
|||||||
message_admins(msg)
|
message_admins(msg)
|
||||||
CRASH(msg)
|
CRASH(msg)
|
||||||
|
|
||||||
/datum/controller/subsystem/job/proc/equip_loadout(mob/dead/new_player/N, mob/living/M, equipbackpackstuff, bypass_prereqs = FALSE, force_equip = FALSE)
|
/datum/controller/subsystem/job/proc/equip_loadout(mob/dead/new_player/N, mob/living/M, equipbackpackstuff, bypass_prereqs = FALSE)
|
||||||
var/mob/the_mob = N
|
var/mob/the_mob = N
|
||||||
if(!the_mob)
|
if(!the_mob)
|
||||||
the_mob = M // cause this doesn't get assigned if player is a latejoiner
|
the_mob = M // cause this doesn't get assigned if player is a latejoiner
|
||||||
@@ -689,7 +689,7 @@ SUBSYSTEM_DEF(job)
|
|||||||
if(!permitted)
|
if(!permitted)
|
||||||
continue
|
continue
|
||||||
var/obj/item/I = new G.path
|
var/obj/item/I = new G.path
|
||||||
if(!M.equip_to_slot_if_possible(I, G.slot, disable_warning = TRUE, bypass_equip_delay_self = TRUE, clothing_check = !force_equip)) // If the job's dresscode compliant, try to put it in its slot, first
|
if(!M.equip_to_slot_if_possible(I, G.slot, disable_warning = TRUE, bypass_equip_delay_self = TRUE)) // If the job's dresscode compliant, try to put it in its slot, first
|
||||||
if(iscarbon(M))
|
if(iscarbon(M))
|
||||||
var/mob/living/carbon/C = M
|
var/mob/living/carbon/C = M
|
||||||
var/obj/item/storage/backpack/B = C.back
|
var/obj/item/storage/backpack/B = C.back
|
||||||
|
|||||||
@@ -46,7 +46,7 @@
|
|||||||
|
|
||||||
if(current_tab == 3)
|
if(current_tab == 3)
|
||||||
//give it its loadout if not on the appearance tab
|
//give it its loadout if not on the appearance tab
|
||||||
SSjob.equip_loadout(parent.mob, mannequin, FALSE, bypass_prereqs = TRUE, force_equip = TRUE)
|
SSjob.equip_loadout(parent.mob, mannequin, FALSE, bypass_prereqs = TRUE)
|
||||||
else
|
else
|
||||||
if(previewJob && equip_job)
|
if(previewJob && equip_job)
|
||||||
mannequin.job = previewJob.title
|
mannequin.job = previewJob.title
|
||||||
|
|||||||
Reference in New Issue
Block a user