Quantcast

CHANGED: Now uses @project-version@ to get version.

F16Gaming [11-07-11 - 16:59]
CHANGED: Now uses @project-version@ to get version.
Filename
Command.lua
Command.toc
diff --git a/Command.lua b/Command.lua
index 0f8d57c..c52b48e 100644
--- a/Command.lua
+++ b/Command.lua
@@ -48,6 +48,9 @@ local log
 --- Initialize Command.
 --
 function C:Init()
+	if self.Version == "@project-version@" then
+		self.Version = "Dev"
+	end
 	Cmd = self.CommandManager
 	CM = self.ChatManager
 	PM = self.PlayerManager
diff --git a/Command.toc b/Command.toc
index 43da8d4..b7bb419 100644
--- a/Command.toc
+++ b/Command.toc
@@ -1,5 +1,5 @@
 ## Interface: 40200
-## Version: v0.0.0-alpha
+## Version: @project-version@
 ## Title: Command
 ## Notes: Provides various !<command> style commands that can be sent in most chat channels.
 ## Author: F16Gaming