Skip to content

Commit 29c78f5

Browse files
committed
Fixed incorrect default color handling in q1_brush_text.
1 parent 3bd9991 commit 29c78f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

template_entities/quake/q1_brush_text.map

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"char_spacing" "{char_spacing or 3}"
1111
"entity_classname" "{entity_classname or 'func_detail_illusionary'}"
1212
"font" "{font or 'techdc4'}"
13-
"color" "{color or 'grey2'}"
13+
"color" "{is_func(color) || !color ? 'grey2' : str(color)}"
1414
}
1515
{
1616
"classname" "{entity_classname}"

0 commit comments

Comments
 (0)