Constant Weapons
Added script for constant weapons, which can start and stop firing at any time (unless they're reloading) Created Constant Laser Fixed exception when dragging to delete item
This commit is contained in:
parent
b779d7c0af
commit
8629b35fd6
13 changed files with 473 additions and 102 deletions
|
|
@ -196,7 +196,7 @@ public class InventoryMenu : MonoBehaviour
|
|||
|
||||
panel.IgnoreOccupancy = null;
|
||||
panel.RefreshCells();
|
||||
if(_dragTargetPanel!=panel)
|
||||
if(_dragTargetPanel!=panel && _dragTargetPanel != null)
|
||||
_dragTargetPanel.RefreshCells();
|
||||
|
||||
_dragItem = null;
|
||||
|
|
|
|||
Loading…
Reference in a new issue