@rbxts/replion 1.0.6 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +1 -1
- package/src/Client.lua +1 -1
- package/src/Server.lua +1 -1
package/README.md
CHANGED
package/package.json
CHANGED
package/src/Client.lua
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
--!strict
|
|
2
|
-
local isTypeScriptEnv = script.Name == 'src';
|
|
2
|
+
local isTypeScriptEnv = script.Parent.Name == 'src';
|
|
3
3
|
local dependencies = if isTypeScriptEnv then script.Parent.Parent.Parent else script.Parent.Parent;
|
|
4
4
|
local Shared = require(script.Parent.Shared);
|
|
5
5
|
local Signal = require(isTypeScriptEnv and dependencies['sleitnick-signal'] or dependencies.Signal);
|
package/src/Server.lua
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--!strict
|
|
2
2
|
local Players = game:GetService('Players');
|
|
3
3
|
|
|
4
|
-
local isTypeScriptEnv = script.Name == 'src';
|
|
4
|
+
local isTypeScriptEnv = script.Parent.Name == 'src';
|
|
5
5
|
local dependencies = if isTypeScriptEnv then script.Parent.Parent.Parent else script.Parent.Parent;
|
|
6
6
|
local Shared = require(script.Parent.Shared);
|
|
7
7
|
local Sift = require(isTypeScriptEnv and dependencies.sift.out or dependencies.Sift);
|