Skip to content

Commit e89b040

Browse files
committed
Changed BaseEntity.set_color's current_alpha argument to default to False.
1 parent b067969 commit e89b040

File tree

1 file changed

+1
-1
lines changed
  • addons/source-python/packages/source-python/entities

1 file changed

+1
-1
lines changed

addons/source-python/packages/source-python/entities/entity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ def get_color(self):
261261
value & 0xff, (value & 0xff00) >> 8,
262262
(value & 0xff0000) >> 16, (value & 0xff000000) >> 24)
263263

264-
def set_color(self, color, current_alpha=True):
264+
def set_color(self, color, current_alpha=False):
265265
"""Set the entity's color to the given RGBA values."""
266266
# Is the entity's current alpha supposed to be used?
267267
if current_alpha:

0 commit comments

Comments
 (0)