Skip to content

Commit 6582191

Browse files
committed
bad color passing to successive commands
1 parent b94b1d9 commit 6582191

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/src/interpreter.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,10 +186,10 @@ class CATInterpreter {
186186
bool call = false;
187187
try {
188188
final int repetitions = command[1].toInt();
189-
call = _commandCaller.color(color, <dynamic>[colors, repetitions]);
189+
call = _commandCaller.color(color, <dynamic>[colorsParsed, repetitions]);
190190
} on FormatException {
191191
call = _commandCaller.color(color, <dynamic>[
192-
colors,
192+
colorsParsed,
193193
]);
194194
}
195195

0 commit comments

Comments
 (0)