15 lines
523 B
Lua
Raw Normal View History

2014-10-03 11:08:58 +03:00
-- Buildat: extension/replicate/init.lua
2014-10-02 13:52:48 +03:00
-- http://www.apache.org/licenses/LICENSE-2.0
-- Copyright 2014 Perttu Ahola <celeron55@gmail.com>
2014-10-03 11:08:58 +03:00
local log = buildat.Logger("extension/replicate")
local magic = require("buildat/extension/urho3d").safe
2014-10-02 13:52:48 +03:00
local dump = buildat.dump
local M = {safe = {}}
-- __buildat_replicated_scene is set by client/replication.lua
M.unsafe_main_scene = __buildat_replicated_scene
M.safe.main_scene = getmetatable(magic.Scene).wrap(__buildat_replicated_scene)
2014-10-02 13:52:48 +03:00
return M
-- vim: set noet ts=4 sw=4: