Can't just use assert like that, when the screen is reloaded it will be unable to...
authorCameron Ball <c.ball1729@gmail.com>
Tue, 10 Dec 2013 05:18:56 +0000 (13:18 +0800)
committerCameron Ball <c.ball1729@gmail.com>
Tue, 10 Dec 2013 05:18:56 +0000 (13:18 +0800)
Themes/GrooveNights/Scripts/Globals.lua

index ccd2883..9395d78 100644 (file)
@@ -36,7 +36,6 @@ local SongLength = GetGlobal("TotalTime")
 local GlobalsTable = {}\r
 \r
 function RegisterGlobal(Actor, Name)\r
-       assert(GlobalsTable[Name] == nil, "Cannot register actor ".. Name .. ". It has already been registered")\r
        GlobalsTable[Name] = Actor:GetText()\r
 end\r
 \r