Skip to content

Commit

Permalink
fixes a small runtime error i caused (#2305)
Browse files Browse the repository at this point in the history
  • Loading branch information
NanakoAC committed Nov 9, 2018
1 parent 6d3349d commit 8591e38
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions code/modules/clothing/spacesuits/rig/rig.dm
Expand Up @@ -146,10 +146,7 @@

START_PROCESSING(SSobj, src)

if(initial_modules && initial_modules.len)
for(var/path in initial_modules)
var/obj/item/rig_module/module = new path(src)
install(module)


// Create and initialize our various segments.
if(cell_type)
Expand All @@ -173,6 +170,11 @@
chest.slowdown = offline_slowdown
verbs |= /obj/item/weapon/rig/proc/toggle_chest

if(initial_modules && initial_modules.len)
for(var/path in initial_modules)
var/obj/item/rig_module/module = new path(src)
install(module)

for(var/obj/item/piece in list(gloves,helmet,boots,chest))
if(!istype(piece))
continue
Expand Down

0 comments on commit 8591e38

Please sign in to comment.