aboutsummaryrefslogtreecommitdiff
path: root/tutorials/tut021_detouring.md
diff options
context:
space:
mode:
Diffstat (limited to 'tutorials/tut021_detouring.md')
-rw-r--r--tutorials/tut021_detouring.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/tutorials/tut021_detouring.md b/tutorials/tut021_detouring.md
index 7e4c980..a03a31d 100644
--- a/tutorials/tut021_detouring.md
+++ b/tutorials/tut021_detouring.md
@@ -14,7 +14,7 @@ garrysmod/lua/autorun/detourprint.lua
The above script __replaces__ the print function, with a new function, which eventually calls the original print function, with modified arguments. The above can be done with modules in Artery as well. For example, `log.lua`'s .error() function currently only prints a message in red, it dosn't actually show what failed or why. Let's modify it to show a stack trace.
-garrysmod/addons/artery_rougelite/trace_errors.lua
+garrysmod/addons/artery\_rougelite/trace\_errors.lua
local log = nrequire("log.lua")
local colors = nrequire("config/colortheme.lua") --Holds colors
@@ -27,3 +27,5 @@ garrysmod/addons/artery_rougelite/trace_errors.lua
For more information on colortheme.lua see @{colortheme.lua}, for more on debug.traceback() see [the gmod wiki](http://wiki.garrysmod.com/page/debug/traceback).
+
+Next tutorial: @{tut030_inventories.md}