Show play time in options menu.
Store unlock date for achievements.
This commit is contained in:
parent
bbb9f2e765
commit
d22f9609e0
9 changed files with 163 additions and 13 deletions
|
|
@ -27,6 +27,7 @@ extend Class SWWMStaticHandler
|
|||
if ( (val == 1) && (gametic > lastachievementnotify) )
|
||||
{
|
||||
a.state.SetInt(2);
|
||||
a.date.SetInt(SystemTime.Now());
|
||||
EventHandler.SendNetworkEvent("swwmachievement."..a.basename,consoleplayer);
|
||||
let notif = new("SWWMAchievementNotification").Init(a.basename,a.icon,a.hasformat?a.maxval:0);
|
||||
StatusBar.AttachMessage(notif,-3478);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue