mirror of
https://github.com/Wyrrrd/Rocket_Turrets.git
synced 2026-04-26 23:31:16 +02:00
Added wiki integration
Also moved graphics to be used by both info integrations
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
require("integrations.info.wiki.wiki")
|
||||
|
||||
if script.active_mods["wiki"] then
|
||||
local initialize_wiki
|
||||
if script.active_mods["bobplates"] then
|
||||
initialize_wiki = function()
|
||||
remote.call("wiki","register_mod_wiki",rocketturrets_bob_wiki)
|
||||
end
|
||||
else
|
||||
initialize_wiki = function()
|
||||
remote.call("wiki","register_mod_wiki",rocketturrets_wiki)
|
||||
end
|
||||
end
|
||||
|
||||
script.on_init(function() initialize_wiki() end)
|
||||
script.on_load(function() initialize_wiki() end)
|
||||
end
|
||||
Reference in New Issue
Block a user