This commit is contained in:
SkyMarshal
2012-01-28 15:55:00 -07:00
parent 795d07fc6a
commit 1e03fb9d72
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -47,11 +47,11 @@ A list of items and costs is stored under the datum of every game mode, alongsid
var/list/O = stringsplit(D, ":")
if(O.len != 3) //If it is not an actual item, make a break in the menu.
if(O.len == 1) //If there is one item, it's probably a title
if(category_items < 1) //If there were no itens in the last category...
src.menu_message += "<i>We apologize, as you could not afford anything from this category.</i><br>"
src.menu_message += "<b>[O[1]]</b><br>"
category_items = 0
else //Else, it's a white space.
if(category_items < 1) //If there were no itens in the last category...
src.menu_message += "<i>We apologize, as you could not afford anything from this category.</i><br>"
src.menu_message += "<br>"
continue