Bläddra i källkod

Fix 'building' -> 'name'

Frans Bergman 7 år sedan
förälder
incheckning
a4f2485649
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      cbc/client.py

+ 1 - 1
cbc/client.py

@@ -15,7 +15,7 @@ class MyPrompt(Cmd):
         """Starts the construction of a building."""
         """Starts the construction of a building."""
         send_json(self.ws, {
         send_json(self.ws, {
             'type': "build",
             'type': "build",
-            'building': args,
+            'name': args,
         })
         })
 
 
     def do_jobs(self, args):
     def do_jobs(self, args):