X-Git-Url: https://git.xandkar.net/?a=blobdiff_plain;f=001%2Fsrc%2Flife_cell.erl;h=6f477cf5edd1aba9e47bc49a9938a101913047c9;hb=81dbcc6e73c3bf9eba9f237b3db1d7a9de658ee0;hp=227f673788fcd0dccaef23fe4b0ce4338c7bd60b;hpb=186887fd5b14774031bd437936418453b5a0c843;p=cellular-automata.git diff --git a/001/src/life_cell.erl b/001/src/life_cell.erl index 227f673..6f477cf 100644 --- a/001/src/life_cell.erl +++ b/001/src/life_cell.erl @@ -1,4 +1,4 @@ --module(cell). +-module(life_cell). -behaviour(gen_server). @@ -95,7 +95,7 @@ handle_cast({response_state, NeighborState}, case NewPending of 0 -> NewCellState = new_state(CellState, NewLiveNeighbors), - ok = time:tock(ID, NewCellState), + ok = life_time:tock(ID, NewCellState), {noreply, NewState#state{live_neighbors=0 ,cell_state=NewCellState