Flashes don't need a queue now that interface events exist.

This commit is contained in:
Mari the Deer 2023-09-29 23:58:46 +02:00
commit 19e460fc3a
5 changed files with 16 additions and 38 deletions

View file

@ -90,6 +90,11 @@ extend Class SWWMHandler
bar.ntagtic = level.totaltime;
bar.ntagcol = nametagcolor;
}
else if ( e.Name ~== "swwmdoflash" )
{
GenericFlash gf = new("GenericFlash").Setup(flash_camera,flash_color,flash_duration);
StatusBar.AttachMessage(gf,0,BaseStatusBar.HUDMSGLayer_UnderHUD);
}
}
override void NetworkProcess( ConsoleEvent e )