HomeWildfire Games

Fix timeout confirmation box depending on fps

Description

Fix timeout confirmation box depending on fps

Introduced in rP25966
Use Date.now() to calculate passed time.
Rewrite to class.
Also actually pass timeout from json.

Differential revision: D4318
Comments by: @vladislavbelov, @Stan