forked from Mirrors/openclonk
#337 Open chest underwater
parent
a3964886d1
commit
9d842afb0a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue