Objects: Fixed runtime error in Relaunch container

ERROR: object call: target is zero.
by: OpenWeaponMenu() (obj #798) (Objects.ocd\Goals.ocd\LastManStanding.ocd\Relaunch.ocd\Script.c:52)
Maikel de Vries 2011-10-11 01:07:42 +02:00
parent d3007f0bb3
commit d21a1197e8
1 changed files with 2 additions and 0 deletions

View File

@ -45,6 +45,8 @@ public func StartRelaunch(object clonk)
private func OpenWeaponMenu(object clonk)
{
if (!clonk)
return;
if (!menu)
{
var weapons = WeaponList();