Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…r-sounds into release
  • Loading branch information
EgoMoose committed Apr 28, 2023
2 parents a2fa22e + a80cf89 commit fa91c3c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/VersionInfo.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"version": "0.571.0.5710526",
"guid": "version-4ef836e0430f4819"
"version": "0.573.0.5730507",
"guid": "version-da56b3062bbf4871"
}
11 changes: 8 additions & 3 deletions src/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,23 @@ local StarterPlayerScripts = StarterPlayer:WaitForChild("StarterPlayerScripts")

local module = {}
local RbxCharacterSounds = script:WaitForChild("RbxCharacterSounds")
local versionInfo = require(script:WaitForChild("VersionInfo"))

local MODULE_NAME = RbxCharacterSounds.Name

function module.get(): ModuleScript
function module.getVersionInfo(): {[string]: string}
return table.clone(versionInfo)
end

function module.get(): LocalScript
return RbxCharacterSounds
end

function module.getCopy(): ModuleScript
function module.getCopy(): LocalScript
return module.get():Clone()
end

function module.replace(rbxCharacterSounds: ModuleScript)
function module.replace(rbxCharacterSounds: LocalScript)
local existing = StarterPlayerScripts:FindFirstChild(MODULE_NAME)
if existing then
existing:Destroy()
Expand Down
2 changes: 1 addition & 1 deletion wally.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "upliftgames/rbxcharactersounds"
version = "571.0.5710526"
version = "573.0.5730507"
registry = "https://github.com/UpliftGames/wally-index"
realm = "shared"

Expand Down

0 comments on commit fa91c3c

Please sign in to comment.