Fixed spawn issue with Deflarian Courier for quest What Happened to Donovan

This commit is contained in:
Cekis
2018-03-23 16:03:48 -07:00
committed by CekisSWG
parent 5cfcd81573
commit 50fecd8f48
+2 -2
View File
@@ -26,8 +26,8 @@ public class cb_deflarian_courier extends script.base_script
if (!utils.hasScriptVar(self, "intCleanedUp"))
{
utils.setScriptVar(self, "intCleanedUp", 1);
obj_id objParent = getObjIdObjVar(self, "objParent");
float fltRespawnTime = getFloatObjVar(self, "fltRespawnTime");
obj_id objParent = utils.getObjIdObjVar(self, "objParent");
float fltRespawnTime = utils.getFloatScriptVar(self, "fltRespawnTime");
messageTo(objParent, "spawnDestroyed", null, fltRespawnTime, false);
}
destroyObject(self);