mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 05:30:05 +01:00
[MIRROR] Makes medibeams more resilient to lag [MDB IGNORE] (#16293)
* Makes medibeams more resilient to lag (#69919) * Makes medibeams more resilient to lag Co-authored-by: ShizCalev <ShizCalev@users.noreply.github.com>
This commit is contained in:
@@ -123,6 +123,13 @@
|
||||
qdel(dummy)
|
||||
return FALSE
|
||||
for(var/obj/effect/ebeam/medical/B in next_step)// Don't cross the str-beams!
|
||||
if(QDELETED(current_beam))
|
||||
break //We shouldn't be processing anymore.
|
||||
if(QDELETED(B))
|
||||
continue
|
||||
if(!B.owner)
|
||||
stack_trace("beam without an owner! [B]")
|
||||
continue
|
||||
if(B.owner.origin != current_beam.origin)
|
||||
explosion(B.loc, heavy_impact_range = 3, light_impact_range = 5, flash_range = 8, explosion_cause = src)
|
||||
qdel(dummy)
|
||||
|
||||
Reference in New Issue
Block a user