prevent PROT from rapidly changing portal temps
This commit is contained in:
parent
e4b08c88cf
commit
859fdece6a
@ -92,7 +92,7 @@ int Element_PROT::update(UPDATE_FUNC_ARGS)
|
||||
if (under)
|
||||
{
|
||||
//now changed so that PROT goes through portal, so only the WIFI part applies
|
||||
if ((under&0xFF) == PT_WIFI || (under&0xFF) == PT_PRTI || (under&0xFF) == PT_PRTO)
|
||||
if ((under&0xFF) == PT_WIFI/* || (under&0xFF) == PT_PRTI || (under&0xFF) == PT_PRTO*/)
|
||||
{
|
||||
float change;
|
||||
if (parts[i].temp<173.15f) change = -1000.0f;
|
||||
|
Loading…
Reference in New Issue
Block a user