mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-26 13:39:16 +01:00
Merge remote-tracking branch 'upstream/master' into dev-freeze
Conflicts: code/controllers/_DynamicAreaLighting_TG.dm code/game/objects/effects/chem/chemsmoke.dm code/game/objects/explosion.dm
This commit is contained in:
@@ -55,8 +55,10 @@
|
||||
|
||||
targetTurfs = new()
|
||||
|
||||
for(var/turf/T in view(range, location)) //build affected area list
|
||||
if(cheap_pythag(T.x - location.x, T.y - location.y) <= range) //cull turfs to circle
|
||||
//build affected area list
|
||||
for(var/turf/T in view(range, location))
|
||||
//cull turfs to circle
|
||||
if(sqrt((T.x - location.x)**2 + (T.y - location.y)**2) <= range)
|
||||
targetTurfs += T
|
||||
|
||||
wallList = new()
|
||||
|
||||
Reference in New Issue
Block a user