Skip to content
This repository has been archived by the owner on Apr 12, 2021. It is now read-only.

Commit

Permalink
Fixing some stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Panakotta00 committed Mar 15, 2020
1 parent 4629ac6 commit 22d811d
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
Binary file modified Content/LightItUp/Lamps/-Shared/LampMenu/GroupEntry.uasset
Binary file not shown.
Binary file modified Content/LightItUp/Lamps/-Shared/LampMenu/LampInteraction.uasset
Binary file not shown.
2 changes: 1 addition & 1 deletion FactoryGame.uproject
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"FileVersion": 3,
"EngineAssociation": "4.22.3-CSS",
"EngineAssociation": "{1A040AC1-4C66-B453-21B2-5F8D29E1F9F7}",
"Category": "",
"Description": "",
"Modules": [
Expand Down
2 changes: 0 additions & 2 deletions Source/LightItUp/LampBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ void ALampBase::BeginPlay() {
Super::BeginPlay();

lampSubSys = ALampSubsystem::Get(this);

AFGTimeOfDaySubsystem::Get(this)->SetDaySeconds(0);
}

void ALampBase::TickActor(float DeltaTime, ELevelTick TickType, FActorTickFunction & ThisTickFunction) {
Expand Down
2 changes: 2 additions & 0 deletions Source/LightItUp/LampSubsystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ ALampSubsystem * ALampSubsystem::Get(UObject * worldContext) {
}

bool ALampSubsystem::setGroup(FString group, ELampMode mode, bool create) {
group = group.TrimStartAndEnd();
if (group.Len() < 1) return false;
if (auto g = groups.Find(group)) {
*g = mode;
return true;
Expand Down

0 comments on commit 22d811d

Please sign in to comment.