always show interaction menu for pump & structures in general

The HasInteractionMenu callback of the pump was eaten by the merge. I checked.
shapetextures
David Dormagen 2015-09-10 18:23:44 +02:00
parent e440df645b
commit f333df2c73
2 changed files with 5 additions and 0 deletions

View File

@ -185,6 +185,9 @@ public func GetRepairMaterials()
/*-- 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.
public func GetInteractionMenus(object clonk)
{

View File

@ -52,6 +52,8 @@ func Initialize()
/*-- Interaction --*/
public func HasInteractionMenu() { return true; }
public func GetPumpControlMenuEntries(object clonk)
{
var menu_entries = [];