| 674 | } |
| 675 | |
| 676 | static int burrow_units_add(lua_State *L) { |
| 677 | color_ostream *out = Lua::GetOutput(L); |
| 678 | if (!out) |
| 679 | out = &Core::getInstance().getConsole(); |
| 680 | DEBUG(status,*out).print("entering burrow_units_add\n"); |
| 681 | units_set_add_remove(L, false, true); |
| 682 | return 0; |
| 683 | } |
| 684 | |
| 685 | static int burrow_units_remove(lua_State *L) { |
| 686 | color_ostream *out = Lua::GetOutput(L); |
nothing calls this directly
no test coverage detected