Skip to content

Commit 967600d

Browse files
committed
Remove missed TempEntity instantiations.
1 parent 91e8646 commit 967600d

File tree

1 file changed

+0
-2
lines changed
  • addons/source-python/packages/source-python/effects

1 file changed

+0
-2
lines changed

addons/source-python/packages/source-python/effects/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,6 @@ def ball(recipients, center, radius, steps=15, upper_half=True, lower_half=True,
266266
rad = 2 * radius * (1 - (float(x) / steps) ** 2) ** 0.5
267267

268268
if upper_half:
269-
entity = TempEntity('BeamRingPoint')
270269
entity.center = org
271270
entity.start_radius = rad
272271
entity.end_radius = rad - 0.1
@@ -275,7 +274,6 @@ def ball(recipients, center, radius, steps=15, upper_half=True, lower_half=True,
275274

276275
if x and lower_half:
277276
org.z -= 2 * dist
278-
entity = TempEntity('BeamRingPoint')
279277
entity.center = org
280278
entity.start_radius = rad
281279
entity.end_radius = rad - 0.1

0 commit comments

Comments
 (0)