mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-31 07:58:22 +01:00
Fixes robot icon breaking when canceling during sprite selection
This commit is contained in:
@@ -1026,6 +1026,8 @@
|
||||
icontype = module_sprites[1]
|
||||
else
|
||||
icontype = tgui_input_list(usr, "Select an icon! [triesleft ? "You have [triesleft] more chance\s." : "This is your last try."]", "Robot Icon", module_sprites)
|
||||
if(!icontype)
|
||||
icontype = module_sprites[1]
|
||||
if(notransform) //VOREStation edit start: sprite animation
|
||||
to_chat(src, "Your current transformation has not finished yet!")
|
||||
choose_icon(icon_selection_tries, module_sprites)
|
||||
|
||||
Reference in New Issue
Block a user