Skip to content

Commit

Permalink
Fix widget automatically being enabled on play test (see #7) (#9)
Browse files Browse the repository at this point in the history
* Fix widget automatically being enabled on play test (see #7)

* Disable `InitialEnabled` only for main widget

* Revert `InitialEnabled` change and utilize `RunService:IsRunning()`

---------

Co-authored-by: Dervex <[email protected]>
  • Loading branch information
pinehappi and DervexDev authored Nov 20, 2024
1 parent 9d2cc16 commit c72ec92
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/.src.server.luau
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
--!strict
local RunService = game:GetService("RunService")

if RunService:IsRunning() then
return
end

local Config = require(script.Config)
local Log = require(script.Log)
local App = require(script.App)
Expand Down

0 comments on commit c72ec92

Please sign in to comment.