Skip to content

Commit

Permalink
use tg procs not legacy redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
zzzmike committed Jul 7, 2024
1 parent d8d6a00 commit 6d40216
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions code/game/objects/items/explosives/grenades/flashbang.dm
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,9 @@
deafen_amount = 0
to_chat(M, SPAN_HELPFUL("Your gear protects you from the worst of the 'bang'."))

M.apply_effect(weaken_amount, STUN)
M.apply_effect(weaken_amount, WEAKEN)
M.apply_effect(paralyze_amount, PARALYZE)
M.Stun(weaken_amount)
M.KnockDown(weaken_amount)
M.KnockOut(paralyze_amount)
if(deafen_amount)
M.SetEarDeafness(max(M.ear_deaf, deafen_amount))

Expand Down

0 comments on commit 6d40216

Please sign in to comment.