summaryrefslogtreecommitdiff
path: root/lib/mods/theme/core/util.lua
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2011-02-22 18:58:08 +0100
committerBardur Arantsson <bardur@scientician.net>2012-03-29 19:59:22 +0200
commitc6abace58ba0242b9f8565c185ff43d2966f8446 (patch)
tree48c8765e17d99062b3fb50b2829170a13ea28e64 /lib/mods/theme/core/util.lua
parent452c05160f4f9afea287f83cf14379d550b6c779 (diff)
Remove unused Lua functions stack_{push,pop}.
Diffstat (limited to 'lib/mods/theme/core/util.lua')
-rw-r--r--lib/mods/theme/core/util.lua13
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/mods/theme/core/util.lua b/lib/mods/theme/core/util.lua
index 997f1eba..5128dfbe 100644
--- a/lib/mods/theme/core/util.lua
+++ b/lib/mods/theme/core/util.lua
@@ -234,19 +234,6 @@ function msg_format(...)
msg_print(call(format, arg))
end
--- Stacks
-function stack_push(stack, val)
- tinsert(stack, val)
-end
-function stack_pop(stack)
- if getn(stack) >= 1 then
- return tremove(stack)
- else
- error("Tried to unstack an empty stack")
- return nil
- end
-end
-
-- A way to check if the game is now running(as opposed to initialization/character gen)
game = {}
add_hooks