This commit is contained in:
ScrawnyRonnie 2023-10-25 09:53:55 -04:00 committed by GitHub
parent 0024e595a7
commit a643aa8440
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,7 +47,7 @@ class Terminal(tdef: TerminalDefinition) extends Amenity with Hackable {
* @return an actionable message that explains what resulted from interacting with this `Terminal`
*/
def Request(player: Player, msg: Any): Terminal.Exchange = {
if (Faction == player.Faction || HackedBy.isDefined || Owner.GUID == PlanetSideGUID(0) || IsBlank(Owner.GUID) {
if (Faction == player.Faction || HackedBy.isDefined || Owner.GUID == PlanetSideGUID(0) || IsBlank(Owner.GUID)) {
tdef.Request(player, msg)
} else {
Terminal.NoDeal()