mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-10 09:42:29 +00:00
DisplayTimeText mk2 (#30969)
* Adds new helper, DisplayTimeText * Removed unused define Thought it would've been nice to have for the future, but I guess it's fine to go without it. * CBB * Revamp * Early returns * More cleanup * Proc cleanup * Makes fraction only show if seconds is < 1 * Last cleanup * Revert * Corrected incorrect round time. Dunno how nobody ever caught that it was incorrect on live servers, gg.
This commit is contained in:
@@ -88,7 +88,7 @@ GLOBAL_VAR_INIT(total_runtimes_skipped, 0)
|
||||
if(usrinfo) //If this info isn't null, it hasn't been added yet
|
||||
desclines.Add(usrinfo)
|
||||
if(silencing)
|
||||
desclines += " (This error will now be silenced for [configured_error_silence_time / 600] minutes)"
|
||||
desclines += " (This error will now be silenced for [DisplayTimeText(configured_error_silence_time)])"
|
||||
if(GLOB.error_cache)
|
||||
GLOB.error_cache.log_error(E, desclines)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user