OH YEAH.
This commit is contained in:
@@ -18,7 +18,6 @@ public class CanvasService {
|
||||
private IRedisService _redisService;
|
||||
private CanvasCommand _lastCommand = new();
|
||||
private List<CanvasCommand> _lsComms = new();
|
||||
private Guid _id = Guid.NewGuid();
|
||||
private bool _is_init = false,
|
||||
_is_started = false,
|
||||
_has_ended = false;
|
||||
@@ -55,7 +54,7 @@ public class CanvasService {
|
||||
while (!_has_ended) {
|
||||
if (_lsComms.Count > 0)
|
||||
_lsComms.Clear();
|
||||
_lsComms.AddRange(await _redisService.Consume(_id.ToString()));
|
||||
_lsComms.AddRange(await _redisService.Consume());
|
||||
if (_lsComms.Count == 1)
|
||||
Draw(_lsComms[0]);
|
||||
else if (_lsComms.Count > 0)
|
||||
|
Reference in New Issue
Block a user