diff --git a/screeps-profiler.js b/screeps-profiler.js index 6855e3a..b98a432 100644 --- a/screeps-profiler.js +++ b/screeps-profiler.js @@ -97,7 +97,7 @@ function wrapFunction(name, originalFunction) { }; wrappedFunction.toString = function() { - return "screeps-profiler wrapped function:\n" + + return "// screeps-profiler wrapped function:\n" + originalFunction.toString(); };