remove fx queue
This commit is contained in:
		| @@ -226,7 +226,7 @@ function Group.update(net, tick) | |||||||
| 			end | 			end | ||||||
| 		end | 		end | ||||||
| 		 | 		 | ||||||
| 		Simulation.queuegroupfx(GSim, net) | 		--Simulation.queuegroupfx(GSim, net) | ||||||
| 	end | 	end | ||||||
| end | end | ||||||
|  |  | ||||||
|   | |||||||
| @@ -373,7 +373,8 @@ function Simulation.tickinput(sim) | |||||||
| end | end | ||||||
|  |  | ||||||
| function Simulation.sendfxupdate(sim) | function Simulation.sendfxupdate(sim) | ||||||
| 	for k, group in pairs(sim.groupfxqueue) do | 	--for k, group in pairs(sim.groupfxqueue) do | ||||||
|  | 	for k, group in pairs(sim.nets) do | ||||||
| 		if group.state[0] ~= group.fxstate then | 		if group.state[0] ~= group.fxstate then | ||||||
| 			group.fxstate = group.state[0] | 			group.fxstate = group.state[0] | ||||||
| 			 | 			 | ||||||
| @@ -387,7 +388,7 @@ function Simulation.sendfxupdate(sim) | |||||||
| 		end | 		end | ||||||
| 	end | 	end | ||||||
| 	 | 	 | ||||||
| 	sim.groupfxqueue = {} | 	--sim.groupfxqueue = {} | ||||||
| end | end | ||||||
|  |  | ||||||
| function Simulation.sendcallbacks(sim) | function Simulation.sendcallbacks(sim) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Redo
					Redo