mirror of
https://github.com/appgurueu/modlib.git
synced 2024-11-22 23:33:53 +01:00
Remove unnecessary _G
This commit is contained in:
parent
95598799ee
commit
5e3fd2048e
@ -687,7 +687,7 @@ function colorspec:to_number()
|
|||||||
return self.r * 0x1000000 + self.g * 0x10000 + self.b * 0x100 + self.a
|
return self.r * 0x1000000 + self.g * 0x10000 + self.b * 0x100 + self.a
|
||||||
end
|
end
|
||||||
|
|
||||||
colorspec_to_colorstring = _G.minetest.colorspec_to_colorstring or function(spec)
|
colorspec_to_colorstring = minetest.colorspec_to_colorstring or function(spec)
|
||||||
return colorspec.from_any(spec):to_string()
|
return colorspec.from_any(spec):to_string()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user