mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-04-03 14:02:40 +02:00
Revert ef6cc9c41815, due to some advanced electronics breaking
TODO: add a flag to some electronics so that we can fix all the bugs at once / add new things without breaking things
This commit is contained in:
parent
4f81cf55f3
commit
f527782405
@ -73,7 +73,7 @@ int Element_WIFI::update(UPDATE_FUNC_ARGS)
|
||||
}
|
||||
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->ISWIRE = 2;
|
||||
|
Loading…
x
Reference in New Issue
Block a user