Skip to content
This repository has been archived by the owner on Oct 27, 2018. It is now read-only.

Commit

Permalink
Fix: Crash when cloning form github.
Browse files Browse the repository at this point in the history
  • Loading branch information
KashEight committed Sep 10, 2017
1 parent b7a5a72 commit 43e89ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SydneyHUD.lua
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ if not SydneyHUD.setup then
function SydneyHUD:GetVersion()
local id = string.match(self._path, "(%w+)[\\/]$") or "SydneyHUD"
local mod = BLT.Mods:GetMod(id)
return tostring(mod:GetVersion() or "(n/a)")
return tostring(mod and mod:GetVersion() or "(n/a)")
end

function SydneyHUD:SendChatMessage(name, message, isfeed, color)
Expand Down

0 comments on commit 43e89ab

Please # to comment.