mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
Fix #5326
Hey what do you know byond 509 is released and we have appearance flags now
This commit is contained in:
@@ -722,6 +722,7 @@ proc/GaussRandRound(var/sigma,var/roundto)
|
||||
if(!progbar)
|
||||
progbar = image("icon" = 'icons/effects/doafter_icon.dmi', "loc" = target, "icon_state" = "prog_bar_0")
|
||||
progbar.pixel_y = 32
|
||||
progbar.appearance_flags = RESET_COLOR
|
||||
//if(!barbar)
|
||||
//barbar = image("icon" = 'icons/effects/doafter_icon.dmi', "loc" = target, "icon_state" = "none")
|
||||
//barbar.pixel_y = 36
|
||||
@@ -730,6 +731,7 @@ proc/GaussRandRound(var/sigma,var/roundto)
|
||||
if(user && user.client && user.client.prefs.progress_bars && target)
|
||||
if(!progbar)
|
||||
progbar = image("icon" = 'icons/effects/doafter_icon.dmi', "loc" = target, "icon_state" = "prog_bar_0")
|
||||
progbar.appearance_flags = RESET_COLOR
|
||||
//oldstate = progbar.icon_state
|
||||
progbar.icon_state = "prog_bar_[round(((i / numticks) * 100), 10)]"
|
||||
user.client.images |= progbar
|
||||
|
||||
Reference in New Issue
Block a user