Skip to content

Commit

Permalink
Makes the stock ticker recognize that it is CURENT YEAR (tgstation#23533
Browse files Browse the repository at this point in the history
)

* CRITICAL

* gah im bad
  • Loading branch information
Supermichael777 authored and optimumtact committed Feb 2, 2017
1 parent 5aadb26 commit a2b09bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/modules/stock_market/articles.dm
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ var/global/list/FrozenAccounts = list()
var/ticksp = "[ticksc]"
while (length(ticksp) < 5)
ticksp = "0[ticksp]"
spacetime = "[ticksp][time2text(world.realtime, "MM")][time2text(world.realtime, "DD")]2556"
spacetime = "[ticksp][time2text(world.realtime, "MM")][time2text(world.realtime, "DD")][text2num(time2text(world.realtime, "YYYY"))+540]"

/datum/article/proc/formatArticle()
if (spacetime == "")
Expand All @@ -122,4 +122,4 @@ var/global/list/FrozenAccounts = list()
T_list[I] = list(product_tokens[I])
for (var/I in T_list)
token_string = replacetext(token_string, "%[I]%", pick(T_list[I]))
return ucfirst(token_string)
return ucfirst(token_string)

0 comments on commit a2b09bd

Please sign in to comment.