forked from Mirrors/openclonk
always show interaction menu for pump & structures in general
The HasInteractionMenu callback of the pump was eaten by the merge. I checked.shapetextures
parent
e440df645b
commit
f333df2c73
|
@ -185,6 +185,9 @@ public func GetRepairMaterials()
|
||||||
|
|
||||||
/*-- Interaction --*/
|
/*-- Interaction --*/
|
||||||
|
|
||||||
|
// Always show an interaction menu with at least the damage entry.
|
||||||
|
public func HasInteractionMenu() { return true; }
|
||||||
|
|
||||||
// Show damage and allow a player to repair the building when damaged.
|
// Show damage and allow a player to repair the building when damaged.
|
||||||
public func GetInteractionMenus(object clonk)
|
public func GetInteractionMenus(object clonk)
|
||||||
{
|
{
|
||||||
|
|
|
@ -52,6 +52,8 @@ func Initialize()
|
||||||
|
|
||||||
/*-- Interaction --*/
|
/*-- Interaction --*/
|
||||||
|
|
||||||
|
public func HasInteractionMenu() { return true; }
|
||||||
|
|
||||||
public func GetPumpControlMenuEntries(object clonk)
|
public func GetPumpControlMenuEntries(object clonk)
|
||||||
{
|
{
|
||||||
var menu_entries = [];
|
var menu_entries = [];
|
||||||
|
|
Loading…
Reference in New Issue