Skip to content

Commit af6c75b

Browse files
committed
update var name for timing
1 parent c02eaa0 commit af6c75b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dot/initDots.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
%% Create a vector to update to dotlife time of each dot
5353
% Not all set to 1 so the dots will die at different times
5454
% The maximum value is the duraion of the event in frames
55-
time = floor(rand(cfg.dot.number, 1) * cfg.eventDuration / cfg.screen.ifi);
55+
time = floor(rand(cfg.dot.number, 1) * cfg.timing.eventDuration / cfg.screen.ifi);
5656

5757
%% Convert from seconds to frames
5858
lifeTime = ceil(lifeTime / cfg.screen.ifi);

0 commit comments

Comments
 (0)