Using ToLowerInvariant instead of ToLower (the game works for Turkish players now!)
http://www.moserware.com/2008/02/does-your-code-pass-turkey-test.html
This commit is contained in:
@@ -71,7 +71,7 @@ namespace Barotrauma
|
||||
|
||||
currentObjective = null;
|
||||
|
||||
switch (order.Name.ToLower())
|
||||
switch (order.Name.ToLowerInvariant())
|
||||
{
|
||||
case "follow":
|
||||
currentObjective = new AIObjectiveGoTo(Character.Controlled, character, true);
|
||||
|
||||
Reference in New Issue
Block a user