mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-07-31 00:15:54 -04:00
Fixed issue with fireworks not firing properly.
This commit is contained in:
Regular → Executable
+1
-1
@@ -28,7 +28,7 @@ public class show extends script.base_script
|
||||
{
|
||||
int eventCount = getCount(self);
|
||||
Vector show_fx = getResizeableStringArrayObjVar(self, firework.VAR_SHOW_FX);
|
||||
if (eventCount != 0 && (show_fx == null || show_fx.size() != eventCount))
|
||||
if(show_fx == null || (eventCount > 0 && show_fx.size() != eventCount))
|
||||
{
|
||||
setCount(self, 0);
|
||||
removeObjVar(self, firework.VAR_SHOW_FX);
|
||||
|
||||
Reference in New Issue
Block a user