Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Rerik007 <[email protected]>
  • Loading branch information
Vladisvell and Rerik007 authored Dec 29, 2023
1 parent 0749bb9 commit 4b8a164
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions code/modules/holiday/new_year.dm
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,13 @@

/obj/item/gun/magic/staff/frost/attack_self(mob/user)
. = ..()
visible_message("[user] raises up [src], forming blizzard around it", \
visible_message("[user] raises up [src], forming blizzard around it.", \
"You raise up [src] and start forming snowy blizzard...")
if(do_after(user, 5 SECONDS, target = user))
for(var/turf/simulated/T in range(4, user))
T.air?.temperature = T0C
if(T.density)
continue
T.air.temperature = T0C
new /obj/effect/snow(T)

/obj/item/ammo_casing/magic/frost
Expand Down Expand Up @@ -138,7 +140,7 @@
max_combined_w_class = 2024

/obj/item/storage/backpack/santabag/ded_moroz/populate_contents()
for(var/i = 0, i < 50, i++)
for(var/i in 1 to 50)
new /obj/item/a_gift(src)
update_icon()

Expand Down

0 comments on commit 4b8a164

Please sign in to comment.