mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Fixes fire spread runtime spam
apparently had been fixed on virgo over a year ago but completely ignored by the mirrorbot
This commit is contained in:
@@ -170,7 +170,7 @@ If it gains pressure too slowly, it may leak or just rupture instead of explodin
|
|||||||
continue
|
continue
|
||||||
|
|
||||||
//Spread the fire.
|
//Spread the fire.
|
||||||
if(prob( 50 + 50 * (firelevel/vsc.fire_firelevel_multiplier) ) && my_tile.CanPass(null, enemy_tile, 0,0) && enemy_tile.CanPass(null, my_tile, 0,0))
|
if(prob( 50 + 50 * (firelevel/vsc.fire_firelevel_multiplier) ) && my_tile.CanPass(src, enemy_tile, 0,0) && enemy_tile.CanPass(src, my_tile, 0,0))
|
||||||
enemy_tile.create_fire(firelevel)
|
enemy_tile.create_fire(firelevel)
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user