mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 11:34:19 +01:00
Plasmafire hotfix (#21440)
* I am in severe pain * airlock changes * whoops walls were too low * blocking heat spread * removes tweaks
This commit is contained in:
@@ -41,12 +41,6 @@
|
||||
active_hotspot.just_spawned = (current_cycle < SSair.times_fired)
|
||||
//remove just_spawned protection if no longer processing this cell
|
||||
SSair.add_to_active(src, 0)
|
||||
var/list/adjacent_dense_turfs = AdjacentTurfs(FALSE, TRUE, TRUE) //Checks adjacent turfs for dense turfs, only in the 4 cardinal directions
|
||||
if(active_hotspot == null)
|
||||
return igniting
|
||||
for(var/turf/simulated/wall/W in adjacent_dense_turfs)
|
||||
if(active_hotspot.temperature > W.heat_resistance) //Only deal heat damage when it's actually hot enough
|
||||
W.take_damage(1 * (active_hotspot.temperature / W.heat_resistance))
|
||||
return igniting
|
||||
|
||||
//This is the icon for fire on turfs, also helps for nurturing small fires until they are full tile
|
||||
|
||||
Reference in New Issue
Block a user