points and reset-function on webUI
This commit is contained in:
@@ -239,6 +239,14 @@ void WebserverPOST_Callback(AsyncWebServerRequest *request)
|
||||
{
|
||||
globals.systemStatus = sysStat_Shutdown;
|
||||
}
|
||||
if (p->name() == "resetpoints")
|
||||
{
|
||||
PersistenceData.faction_1_timer = 0;
|
||||
PersistenceData.faction_2_timer = 0;
|
||||
PersistenceData.faction_3_timer = 0;
|
||||
PersistenceData.activeFaction = NONE;
|
||||
globals.requestEEAction == EE_PDS_SAVE;
|
||||
}
|
||||
// end: POST Form Maintenance
|
||||
|
||||
// begin: POST Form Settings
|
||||
|
Reference in New Issue
Block a user