- WIP animated tiles
This commit is contained in:
@@ -26,7 +26,7 @@ function switches.update()
|
||||
|
||||
if switches.wait==6 then
|
||||
switches.wait=0
|
||||
mapa_set_tile_by_index(switches.current_list[1]-1,switches.current_list[switches.current_index]+1,255)
|
||||
mapa_set_tile_by_index(switches.current_list[1]-1,switches.current_list[switches.current_index]+1,256)
|
||||
switches.current_index=switches.current_index+1
|
||||
if switches.current_index>#switches.current_list then
|
||||
switches.current_list=nil
|
||||
|
||||
Reference in New Issue
Block a user