Skip to content

Commit

Permalink
Initialize should return.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mechoid committed Sep 4, 2023
1 parent afb892e commit 6101752
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions code/modules/exosuits/exosuit_wreckage.dm
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
if(exosuit.remove_system(hardpoint))
thing.forceMove(src)

..()
return ..()

/obj/structure/exosuit_wreckage/powerloader/Initialize(var/newloc)

Check failure on line 26 in code/modules/exosuits/exosuit_wreckage.dm

View workflow job for this annotation

GitHub Actions / DreamChecker

/obj/structure/exosuit_wreckage/powerloader/proc/Initialize sets SpacemanDMM_should_not_sleep but calls blocking proc /proc/stoplag
var/mob/living/exosuit/Exo = new /mob/living/exosuit/premade/powerloader(src)
..(newloc, Exo, FALSE)
return ..(newloc, Exo, FALSE)

/obj/structure/exosuit_wreckage/attack_hand(var/mob/user)
if(contents.len)
Expand Down
2 changes: 1 addition & 1 deletion code/modules/exosuits/premade/powerloader.dm
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
body = new /obj/item/mech_component/chassis/heavy(src)
body.color = "#385b3c"

..()
. = ..()

material = get_material_by_name(MAT_PLASTEEL)

Expand Down

0 comments on commit 6101752

Please sign in to comment.