mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Merge pull request #14209 from Heroman3003/runtimes-fixes-icons
Some runtime fixes + oldchat icons
This commit is contained in:
@@ -46,7 +46,7 @@
|
||||
|
||||
// Returns to the last visited page, based on the history list.
|
||||
/datum/codex_tree/proc/go_back()
|
||||
if(history.len - 1)
|
||||
if((history.len - 1) > 0)
|
||||
if(history[history.len] == current_page)
|
||||
history.len-- // This gets rid of the current page in the history.
|
||||
go_to_page(pop(history), dont_record_history = TRUE) // Where as this will get us the previous page that we want to go to.
|
||||
|
||||
Reference in New Issue
Block a user