#337 Open chest underwater

Tobias Zwick 2010-07-20 20:45:00 +02:00
parent a3964886d1
commit 9d842afb0a
1 changed files with 3 additions and 3 deletions

View File

@ -63,9 +63,9 @@ public func ControlUseAlt(object clonk)
public func OpenMenu(object clonk)
{
var proc = clonk->GetProcedure();
// not opened yet
if (!content_menu && (proc == "WALK" || proc == "PUSH"))
//var proc = clonk->GetProcedure();
// not opened yet v- why is this check here? - it belongs in the object script - Newton
if (!content_menu /* && (proc == "WALK" || proc == "PUSH")*/)
{
content_menu = clonk->CreateRingMenu(GetID(), this);
// all contents into the menu