WIFI: always delay one frame before conducting, to prevent particle order issues
This commit is contained in:
parent
ce277a11f1
commit
ef6cc9c418
@ -73,7 +73,7 @@ int Element_WIFI::update(UPDATE_FUNC_ARGS)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if ((r&0xFF)==PT_SPRK && parts[r>>8].ctype!=PT_NSCN && parts[r>>8].life>=3)
|
if ((r&0xFF)==PT_SPRK && parts[r>>8].ctype!=PT_NSCN && parts[r>>8].life==3)
|
||||||
{
|
{
|
||||||
sim->wireless[parts[i].tmp][1] = 1;
|
sim->wireless[parts[i].tmp][1] = 1;
|
||||||
sim->ISWIRE = 2;
|
sim->ISWIRE = 2;
|
||||||
|
Loading…
Reference in New Issue
Block a user