From 7cc4875a10e633947b51e97a975b42ee2c6b5b56 Mon Sep 17 00:00:00 2001 From: Ronja Date: Mon, 8 Feb 2021 18:56:19 +0100 Subject: [PATCH] fix capitalisation error --- Luxe/blocks/human.wren | 4 +--- Luxe/blocks/human/human.wren | 2 +- Luxe/game.wren | 2 -- Luxe/project.modules.lx | 1 - 4 files changed, 2 insertions(+), 7 deletions(-) diff --git a/Luxe/blocks/human.wren b/Luxe/blocks/human.wren index 5bd1cd2..34cb253 100644 --- a/Luxe/blocks/human.wren +++ b/Luxe/blocks/human.wren @@ -1,5 +1,5 @@ import "luxe: world" for Entity, Transform, Sprite -import "Globals" for Globals +import "globals" for Globals import "luxe: containers" for Lists import "math/observable" for Observable import "math/vector" for Vector @@ -10,7 +10,6 @@ class Human{ _active = value if(!__activeHumans) __activeHumans = Observable.new([]) if(value){ - System.print(Globals) show() _changeToken = __activeHumans.on_change{|x| update()} __activeHumans.value.add(this) @@ -40,7 +39,6 @@ class Human{ } show(){ - System.print(Globals) _entity = Entity.create(Globals["Game"].app.world, name) Transform.create(_entity) Sprite.create(_entity, _material, 10, 12) diff --git a/Luxe/blocks/human/human.wren b/Luxe/blocks/human/human.wren index a9da816..84634b9 100644 --- a/Luxe/blocks/human/human.wren +++ b/Luxe/blocks/human/human.wren @@ -155,4 +155,4 @@ class HumanSystem is ModifierSystem { var Modifier = HumanSystem //required -import "blocks/ui/ui" for Ui //import at the end in case of cyclic dependency \ No newline at end of file +import "blocks/ui/ui" for Ui //import at the end in case of cyclic dependency diff --git a/Luxe/game.wren b/Luxe/game.wren index b9f1812..ec519f2 100644 --- a/Luxe/game.wren +++ b/Luxe/game.wren @@ -98,8 +98,6 @@ class Game is Ready { var names = Assets.lx("assets/names.lx") var name = names[RandomInst.int(0, names.count)] human.name = name - Globals["wee"]=false - System.print(Globals) human.active = true } diff --git a/Luxe/project.modules.lx b/Luxe/project.modules.lx index b8f0cda..f064f8a 100644 --- a/Luxe/project.modules.lx +++ b/Luxe/project.modules.lx @@ -1,4 +1,3 @@ modules = { luxe = "2021.0.0" - luxe-agent = "2020.3.4" } //modules