Compare commits
No commits in common. "c400a17b8807ddba62bba8dfe3b4c83dec7e9518" and "3789b2b3a28851ed13bb4d6fb96c407b111eb612" have entirely different histories.
c400a17b88
...
3789b2b3a2
2
nulllib
2
nulllib
@ -1 +1 @@
|
|||||||
Subproject commit 618c082c0f5809bafc9a43a1e6ce81d2897a5333
|
Subproject commit 33d6ecaa03a4b4b9a63474cb7f26b5b14e83956c
|
12
script.lua
12
script.lua
@ -9,18 +9,8 @@ ping=pings
|
|||||||
TEXTURE_WIDTH = 256
|
TEXTURE_WIDTH = 256
|
||||||
TEXTURE_HEIGHT = 256
|
TEXTURE_HEIGHT = 256
|
||||||
|
|
||||||
local optrequire
|
|
||||||
do
|
|
||||||
local fallback=setmetatable({}, {__index=function() return function() end end})
|
|
||||||
function optrequire(...)
|
|
||||||
local status, req=pcall(require, ...)
|
|
||||||
if status then return req end
|
|
||||||
return fallback
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
util = require("nulllib.util")
|
util = require("nulllib.util")
|
||||||
logging = optrequire("nulllib.logging")
|
logging = require("nulllib.logging")
|
||||||
timers=require("nulllib.timers")
|
timers=require("nulllib.timers")
|
||||||
nmath=require("nulllib.math")
|
nmath=require("nulllib.math")
|
||||||
PartsManager=require("nulllib.PartsManager")
|
PartsManager=require("nulllib.PartsManager")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user