Combat instances are created alongside the barriers

This commit is contained in:
2016-05-29 02:15:41 +10:00
parent 867a86fd79
commit 8d2fc45d7d
5 changed files with 42 additions and 30 deletions
+1
View File
@@ -39,6 +39,7 @@ BarrierData::~BarrierData() {
int BarrierData::Update(lua_State* L) {
int ret = 0;
//NOTE: this is here mostly for the "barrier tick" effect
if (scriptRef != LUA_NOREF) {
//Call the script reference
lua_pushinteger(L, scriptRef);