mirror of
https://github.com/valmojr/armatak.git
synced 2026-06-13 17:23:28 +00:00
fixed side handling function
This commit is contained in:
@@ -3,16 +3,16 @@ params["_unit"];
|
||||
_side = "friendly";
|
||||
|
||||
switch (side _unit) do {
|
||||
case WEST: {
|
||||
case "WEST": {
|
||||
_side = "friendly";
|
||||
};
|
||||
case EAST: {
|
||||
case "EAST": {
|
||||
_side = "hostile";
|
||||
};
|
||||
case INDEPENDENT: {
|
||||
case "INDEPENDENT": {
|
||||
_side = "neutral";
|
||||
};
|
||||
case CIVILIAN: {
|
||||
case "CIVILIAN": {
|
||||
_side = "unknown";
|
||||
};
|
||||
default {
|
||||
|
||||
Reference in New Issue
Block a user