Skip to content

Commit

Permalink
so fucking real
Browse files Browse the repository at this point in the history
  • Loading branch information
PhantomEpicness committed Feb 23, 2024
1 parent f7b06d1 commit 49e9914
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/objects/structures/crates_lockers/closets.dm
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
update_icon()

playsound(src.loc, close_sound, 15, 1)
if(initial(density) != density) // If it didn't start dense (ea map placement) then don't make it dense
if(pixel_y < 10 || pixel_x < 10) // If it's offsetted to a point where it would confuse players, don't make dense
density = TRUE
return TRUE

Expand Down

0 comments on commit 49e9914

Please sign in to comment.