Skip to content
This repository was archived by the owner on Oct 27, 2022. It is now read-only.

Commit 3b5eeb0

Browse files
committed
Make StartProtocol less spammy
1 parent 71155d3 commit 3b5eeb0

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

mods/braindance_protocol/utility.lua

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,19 @@
11
local Utilities = {}
22

33
function Utilities.StartProtocol(name)
4-
print("---------------------------------------------------------------------")
54
print(string.format("Executing Protocol: %s", name))
6-
print("---------------------------------------------------------------------")
75
end
86

97
function Utilities.FinishProtocol(name)
10-
print("---------------------------------------------------------------------")
118
print(string.format("Finished Protocol: %s", name))
12-
print("---------------------------------------------------------------------")
13-
print("")
149
end
1510

1611
function Utilities.DumpObject(obj, path)
1712
local dump = tostring(Dump(obj))
1813
local output = io.open(path or "output.txt", "w")
19-
14+
2015
print(dump)
21-
16+
2217
output:write(dump)
2318
output:close()
2419
end

0 commit comments

Comments
 (0)