Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: wraith-54321 <69217972+wraith-54321@users.noreply.github.com>
  • Loading branch information
Uristthedorf and wraith-54321 authored Jun 28, 2024
1 parent d3583cb commit 4d0eaaf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion code/modules/research/designs/biogenerator_designs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
name = "Mouse Cube"
id = "rcube" // R for Rat
build_type = BIOGENERATOR
materials = list(/datum/material/biomass =SMALL_MATERIAL_AMOUNT*0.4)
materials = list(/datum/material/biomass = SMALL_MATERIAL_AMOUNT * 0.4)
build_path = /obj/item/food/monkeycube
category = list(RND_CATEGORY_INITIAL, RND_CATEGORY_BIO_FOOD)

Expand Down
4 changes: 2 additions & 2 deletions monkestation/code/modules/religion/maint_god.dm
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
/datum/religion_rites/weapon_granter/invoke_effect(mob/living/user, atom/movable/religious_tool)
..()
var/altar_turf = get_turf(religious_tool)
new /obj/item/book/granter/crafting_recipe/maintgodgranter(altar_turf)
new /obj/item/book/granter/crafting_recipe/maintgodgranter(get_turf(religious_tool))
return TRUE

/datum/religion_rites/shadowascension
Expand Down Expand Up @@ -49,7 +49,7 @@
CRASH("[name]'s perform_rite had a movable atom that has somehow turned into a non-movable!")
var/atom/movable/movable_reltool = religious_tool
var/mob/living/carbon/human/rite_target
if(!movable_reltool?.buckled_mobs?.len)
if(!length(movable_reltool.buckled_mobs))
rite_target = user
else
for(var/buckled in movable_reltool.buckled_mobs)
Expand Down

0 comments on commit 4d0eaaf

Please sign in to comment.