Objects: Fixed #554, respawn container does not spawn weapons anymore

Maikel de Vries 2011-01-31 19:09:13 +01:00
parent 20beb13b98
commit ab427e1928
1 changed files with 5 additions and 0 deletions

View File

@ -61,6 +61,11 @@ private func OpenWeaponMenu(object clonk)
func FxIntTimeLimitTimer(object target, effect, int fxtime)
{
var clonk = Contents();
if (!clonk)
{
RemoveObject();
return -1;
}
if (fxtime >= time)
{
if (!has_selected)