summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/core/util.lua9
-rw-r--r--lib/mods/theme/core/util.lua9
-rw-r--r--lib/mods/theme/scpt/help.lua11
-rw-r--r--lib/scpt/help.lua11
4 files changed, 0 insertions, 40 deletions
diff --git a/lib/core/util.lua b/lib/core/util.lua
index 7729ac35..2d437d61 100644
--- a/lib/core/util.lua
+++ b/lib/core/util.lua
@@ -118,12 +118,3 @@ end
function msg_format(...)
msg_print(call(format, arg))
end
-
--- A way to check if the game is now running(as opposed to initialization/character gen)
-game = {}
-add_hooks
-{
- [HOOK_GAME_START] = function ()
- game.started = TRUE
- end
-}
diff --git a/lib/mods/theme/core/util.lua b/lib/mods/theme/core/util.lua
index 7729ac35..2d437d61 100644
--- a/lib/mods/theme/core/util.lua
+++ b/lib/mods/theme/core/util.lua
@@ -118,12 +118,3 @@ end
function msg_format(...)
msg_print(call(format, arg))
end
-
--- A way to check if the game is now running(as opposed to initialization/character gen)
-game = {}
-add_hooks
-{
- [HOOK_GAME_START] = function ()
- game.started = TRUE
- end
-}
diff --git a/lib/mods/theme/scpt/help.lua b/lib/mods/theme/scpt/help.lua
index d9f637bd..d8900d6c 100644
--- a/lib/mods/theme/scpt/help.lua
+++ b/lib/mods/theme/scpt/help.lua
@@ -218,14 +218,3 @@ ingame_help
end
end,
}
-
-ingame_help
-{
- ["hook"] = HOOK_RECALC_SKILLS,
- ["event"] = function() if game.started and (get_melee_skills() > 1) then return TRUE end end,
- ["desc"] =
- {
- "Ah, you now possess more than one melee type. To switch between them press m",
- "and select the switch melee type option.",
- }
-}
diff --git a/lib/scpt/help.lua b/lib/scpt/help.lua
index 0ee307cb..734747ed 100644
--- a/lib/scpt/help.lua
+++ b/lib/scpt/help.lua
@@ -184,14 +184,3 @@ ingame_help
end
end,
}
-
-ingame_help
-{
- ["hook"] = HOOK_RECALC_SKILLS,
- ["event"] = function() if game.started and (get_melee_skills() > 1) then return TRUE end end,
- ["desc"] =
- {
- "Ah, you now possess more than one melee type. To switch between them press m",
- "and select the switch melee type option.",
- }
-}