2class ActionBuildPartSwitch: ActionSingleUseBase
4 void ActionBuildPartSwitch()
9 m_Text =
"#switch_to_the_next_part";
44 override void OnStartClient(
ActionData action_data)
46 super.OnStartClient( action_data );
48 SetNextIndex(action_data);
51 override void OnStartServer(
ActionData action_data)
53 super.OnStartServer( action_data );
55 if (!
g_Game.IsMultiplayer())
56 SetNextIndex(action_data);